Skip to content

Commit 7aada59

Browse files
authored
fix: also deploy docs on new releases (#301)
1 parent 3838495 commit 7aada59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
path: site
3636
retention-days: 7
3737
- name: Deploy to pages
38-
if: ${{ github.ref_name == 'main' }}
38+
if: ${{ github.ref_name == 'main' || github.event_name == 'release'}}
3939
uses: JamesIves/github-pages-deploy-action@132898c54c57c7cc6b80eb3a89968de8fc283505 # 3.7.1
4040
with:
4141
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)