Skip to content

Commit 40fdeb5

Browse files
committed
run cd only when tags are part of commit
1 parent 50e20f0 commit 40fdeb5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ jobs:
3535
3636
CD:
3737
needs: CI
38+
if: startsWith(github.ref, 'refs/tags/')
3839
runs-on: ubuntu-latest
3940
steps:
4041
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)