Skip to content

Update github-pages-deployment.yml #11

Update github-pages-deployment.yml

Update github-pages-deployment.yml #11

name: GitHub Pages Deployment
on:
push:
branches:
main*
permissions:
id-token: write
pages: write
jobs:
# ---------------------------------------------------------------- #
# | Building and deployment of Sphinx build | #
# ---------------------------------------------------------------- #
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: Install Dependencies
run: |
pip install sphinx sphinx_rtd_theme myst_parser
- name: Sphinx Build
run: |
sphinx-build docs/sphinx-docs _build
- name: Upload GitHub Pages artifact
uses: actions/upload-pages-artifact@v2.0.0
with:
path: _build
- name: Push artifact to pages
uses: actions/deploy-pages@v3.0.1