Skip to content

Commit ed886c2

Browse files
committed
fix triggers
1 parent c4af602 commit ed886c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/ci-cd.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ name: CI/CD
22

33
on:
44
push:
5-
tags: [ 'v*' ]
65
pull_request:
76

87
env:
@@ -62,7 +61,7 @@ jobs:
6261
name: GHCR Release
6362
runs-on: ubuntu-latest
6463
needs: test-build
65-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
64+
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v')
6665
permissions:
6766
contents: read
6867
packages: write
@@ -108,7 +107,7 @@ jobs:
108107
name: PyPI Release
109108
runs-on: ubuntu-latest
110109
needs: test-build
111-
if: startsWith(github.ref, 'refs/tags/')
110+
if: startsWith(github.ref, 'refs/tags/v')
112111
permissions:
113112
contents: write
114113
id-token: write

0 commit comments

Comments
 (0)