Skip to content

Commit 4fe0bd0

Browse files
committed
ci: only deploy docs if we a new tag is created
1 parent fa09bbd commit 4fe0bd0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ jobs:
5454
name: github-pages
5555
url: ${{ steps.deployment.outputs.page_url }}
5656
needs: build
57+
if: success() && startsWith( github.ref, 'refs/tags/v')
5758
runs-on: ubuntu-latest
5859
name: Deploy
5960
steps:

0 commit comments

Comments
 (0)