Updated GitHub Actions workflow to update from Node 16 to 20 #50
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This workflow builds Sphinx documentation and deploys it to GitHub Pages. | |
name: Publish documentation | |
on: | |
push: | |
branches: [main] # branch to trigger deployment | |
release: | |
types: [published] # releases trigger deployment as well | |
jobs: | |
pages: | |
runs-on: ubuntu-latest | |
environment: | |
name: github-pages | |
url: ${{ steps.deployment.outputs.page_url }} | |
permissions: | |
pages: write | |
id-token: write | |
steps: | |
- id: deployment | |
uses: sphinx-notes/pages@v3 |