Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
victorbnl committed Oct 9, 2023
1 parent 9e8f8e4 commit fc7cdf1
Showing 1 changed file with 20 additions and 7 deletions.
27 changes: 20 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ on:
- push
- workflow_dispatch

permissions:
contents: read
pages: write
id-token: write

concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -27,12 +36,16 @@ jobs:

- name: Build documentation
shell: bash
run: sphinx-build docs/ docs/_build
run: sphinx-build docs/ docs/_build/

- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
email: victor.bonnelle@proton.me
build_dir: docs/_build/
path: 'docs/_build/'

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2

0 comments on commit fc7cdf1

Please sign in to comment.