Skip to content

Commit

Permalink
do not attempt to publish pages when testing locally
Browse files Browse the repository at this point in the history
  • Loading branch information
rambo committed Apr 21, 2024
1 parent 698964d commit 49f46fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
cd docs
make html
- name: Deploy to gh-pages
if: ${{ !env.ACT }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/openapijson.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
spec-file: openapi.json
version: ^5.0.0
- name: Deploy to gh-pages
if: ${{ !env.ACT }}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 49f46fe

Please sign in to comment.