Skip to content

Commit

Permalink
github: action: Fix: Deploy only on master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulTrombin committed Mar 28, 2024
1 parent 0378380 commit b459bff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ jobs:
run: cargo doc
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc

0 comments on commit b459bff

Please sign in to comment.