Skip to content

echo tx-token

echo tx-token #12

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" && ./bin/install-deps-in-sphinx-container.sh && make pages

Check failure on line 19 in .github/workflows/build_and_publish.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/build_and_publish.yml

Invalid workflow file

You have an error in your yaml syntax on line 19
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