Skip to content

Commit 6b06623

Browse files
Deploy sim to GH pages for tags
Maintain ability to manually dispatch workflow.
1 parent 1e3147d commit 6b06623

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-simx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
working-directory: simx
3030
- name: github pages
3131
uses: peaceiris/actions-gh-pages@v3
32-
if: ${{ github.ref == 'refs/heads/main' }}
32+
if: ${{ startsWith(github.ref, 'refs/tags/v') || github.ref == 'refs/heads/main' }}
3333
with:
3434
github_token: ${{ secrets.GITHUB_TOKEN }}
3535
publish_dir: ./simx/dist

0 commit comments

Comments
 (0)