Skip to content

Commit ca6155f

Browse files
committed
Include tags to be deployed
1 parent 6432daf commit ca6155f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ on:
55
branches:
66
- main
77
- prod
8+
tags:
9+
- 'v*'
810

911
jobs:
1012
deployment:
1113
runs-on: ubuntu-latest
12-
environment: ${{ github.ref_name }}
14+
environment: ${{ startsWith(github.ref, 'refs/tags/') && 'main' || github.ref_name }}
1315
steps:
1416
- name: Trigger deploy
1517
run: |

0 commit comments

Comments
 (0)