Skip to content

Commit

Permalink
fix: also deploy docs on new releases (#301)
Browse files Browse the repository at this point in the history
  • Loading branch information
kangasta authored Apr 4, 2024
1 parent 3838495 commit 7aada59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
path: site
retention-days: 7
- name: Deploy to pages
if: ${{ github.ref_name == 'main' }}
if: ${{ github.ref_name == 'main' || github.event_name == 'release'}}
uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 7aada59

Please sign in to comment.