Skip to content

Commit 92f30f5

Browse files
authored
feat(modules): tagged release (#137)
1 parent d344336 commit 92f30f5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci-modules.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
push:
1010
branches:
1111
- main
12+
tags:
13+
- 'v**'
1214
paths:
1315
- 'modules/**'
1416

@@ -70,4 +72,4 @@ jobs:
7072
working-directory: modules
7173
env:
7274
S3_BUCKET: cf-templates-cloudvision-ci
73-
S3_PREFIX: ${{ github.event_name == 'push' && 'main' || format('pr/{0}', github.event.pull_request.number)}}
75+
S3_PREFIX: ${{ github.event_name == 'push' && ((contains(github.ref, '/tags/v') && github.ref_name) || 'main') || format('pr/{0}', github.event.pull_request.number)}}

0 commit comments

Comments
 (0)