Skip to content

Commit

Permalink
Fix docs deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbertDominguez authored Feb 2, 2024
1 parent 548e830 commit 115544f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
name: documentation

# on: [push, pull_request, workflow_dispatch]

on:
release:
types:
Expand All @@ -24,9 +22,8 @@ jobs:
sphinx-build docs/source docs/build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
publish_branch: gh-pages
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/build/
force_orphan: true
force_orphan: true

0 comments on commit 115544f

Please sign in to comment.