Skip to content

Commit 7da64e1

Browse files
author
Guen Prawiroatmodjo
committed
run publish docs step also on releases
1 parent 4e6f1ff commit 7da64e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
environment:
5757
name: github-pages
5858
url: ${{ steps.deploy-pages.outputs.page_url }}
59-
if: github.ref == 'refs/heads/main'
59+
if: (github.event_name == 'release' && github.event.action == 'published') || github.ref == 'refs/heads/main'
6060
steps:
6161
- name: Checkout repo
6262
uses: actions/checkout@v4

0 commit comments

Comments
 (0)