Skip to content

Commit 611cea1

Browse files
committed
chore: remove branch and tag filters from deploy workflow trigger
Signed-off-by: Nikolai Emil Damm <[email protected]>
1 parent 6cfd9de commit 611cea1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/deploy.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@ name: Deploy
22

33
on:
44
push:
5-
branches:
6-
- "main"
7-
tags:
8-
- "v*.*.*"
95
workflow_dispatch:
106

117
concurrency:
@@ -24,6 +20,7 @@ jobs:
2420
DEPLOYMENT_ENV: dev
2521

2622
deploy-prod:
23+
if: startsWith(github.ref, 'refs/tags/v')
2724
needs: deploy-dev
2825
uses: devantler-tech/workflows/.github/workflows/gitops-deploy.yaml@main
2926
secrets: inherit

0 commit comments

Comments
 (0)