Skip to content

DBG echo tx-token

DBG echo tx-token #14

name: Deploy Sphinx documentation to Pages
on:
push:
#branches: [ "master" ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
container:
image: docker.io/sphinxdoc/sphinx:8.0.2
steps:
- uses: actions/checkout@v4
- name: Build static files
id: build
run: |
echo "TX: $TX_TOKEN"
env:
TX_TOKEN: ${{ secrets.TX_TOKEN }}
- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3
with:
path: pages
# Deployment job
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
permissions:
pages: write
id-token: write
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4