Skip to content

Commit

Permalink
change action for gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
simoneliuzzo committed Nov 27, 2024
1 parent ef0ba19 commit ecbebff
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,18 +77,18 @@ jobs:
webhook_token: ${{ secrets.RTDS_WEBHOOK_TOKEN }}
commit_ref: ${{ github.ref }}

- name: Publish Docs to gh-pages
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/_build/html

# - name: Upload documentation
# if: success() && github.ref == 'refs/heads/main' # only for pushes to master
# uses: JamesIves/github-pages-deploy-action@v4
# - name: Publish Docs to gh-pages
# uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847
# with:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# BRANCH: gh-pages
# folder: docs/_build # The folder the action should deploy.
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: docs/_build/html

- name: Upload documentation
if: success() && github.ref == 'refs/heads/main' # only for pushes to master
uses: JamesIves/github-pages-deploy-action@v4
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
folder: docs/_build # The folder the action should deploy.


0 comments on commit ecbebff

Please sign in to comment.