Skip to content

Commit 611423e

Browse files
ci(deploy-docs.yml): update to deploy docs when tags are pushed (#37)
1 parent 2154c90 commit 611423e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ jobs:
3636

3737
- name: setup pages
3838
uses: actions/configure-pages@v5
39-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
39+
if: ${{ github.repository == 'idaholab/DOVE' && github.ref_type == 'tag' }}
4040

4141
- name: upload artifact
4242
uses: actions/upload-pages-artifact@v3
43-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
43+
if: ${{ github.repository == 'idaholab/DOVE' && github.ref_type == 'tag' }}
4444
with:
4545
path: "/tmp/dovedocs"
4646

4747
- name: Deploy to GitHub Pages
4848
uses: actions/deploy-pages@v4
49-
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
49+
if: ${{ github.repository == 'idaholab/DOVE' && github.ref_type == 'tag' }}

0 commit comments

Comments
 (0)