Skip to content

Commit

Permalink
Attempt #2: build the doc in every PR< but do the deploy step only af…
Browse files Browse the repository at this point in the history
…ter merged
  • Loading branch information
Shihab-Shahriar committed Oct 15, 2023
1 parent 34a7cd2 commit dc7929a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ jobs:
contents: write
pull-requests: write
pages: write
repository-projects: write


steps:
Expand All @@ -30,6 +29,7 @@ jobs:
run: doxygen Doxyfile

- name: Deploy to GitHub Pages
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit dc7929a

Please sign in to comment.