Skip to content

Commit

Permalink
Modified workflow, so that files are published in folder named after …
Browse files Browse the repository at this point in the history
…source branch
  • Loading branch information
ChristianH99 committed Jul 26, 2024
1 parent 6fbd4cf commit 0015809
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,11 @@ jobs:
- name: Build documentation
run: |
sphinx-build -M html docs/source docs/_build -E
mkdir -p dist/${GITHUB_REF#refs/heads/}/
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html
publish_dir: ./dist
keep_files: True

0 comments on commit 0015809

Please sign in to comment.