Skip to content

Commit

Permalink
docs: Add condition for doc publishing
Browse files Browse the repository at this point in the history
Signed-off-by: RibhuDP <[email protected]>
  • Loading branch information
ribdp committed Apr 3, 2024
1 parent ec4f89e commit 0a9ee35
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
cd docs
make html
- name: Publish master doc
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 0a9ee35

Please sign in to comment.