Skip to content

Commit 56a7651

Browse files
author
Joé Dupuis
committed
Only trigger infra deploy on test tag
1 parent 628fff5 commit 56a7651

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ name: Run tests
33
on:
44
pull_request:
55
push:
6+
tags:
7+
- test
8+
branches:
9+
- '*'
10+
pull_request:
611

712
permissions:
813
id-token: write
@@ -17,6 +22,7 @@ env:
1722
jobs:
1823
deploy-infrastructure:
1924
runs-on: ubuntu-latest
25+
if: startsWith(github.ref, 'refs/tags/test')
2026
steps:
2127
- uses: actions/checkout@v4
2228
- uses: ./.github/actions/setup-terraform

0 commit comments

Comments
 (0)