Skip to content

Commit f2cd618

Browse files
committed
update contains to actual message in deploy
1 parent 452686c commit f2cd618

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ jobs:
2727
github.ref == 'refs/heads/develop' ||
2828
github.ref == 'refs/heads/main' ||
2929
startsWith(github.ref, 'refs/heads/release') ||
30-
contains(github.event.head_commit.message, '/deploy sit') ||
31-
contains(github.event.head_commit.message, '/deploy uat')
30+
github.event.head_commit.message == '/deploy sit' ||
31+
github.event.head_commit.message == '/deploy uat'
3232
runs-on: ubuntu-latest
3333
outputs:
3434
cumulus_files_created: ${{ steps.upload-files.outputs.files_uploaded }}
@@ -265,8 +265,8 @@ jobs:
265265
github.ref == 'refs/heads/develop' ||
266266
github.ref == 'refs/heads/main' ||
267267
startsWith(github.ref, 'refs/heads/release') ||
268-
contains(github.event.head_commit.message, '/deploy sit') ||
269-
contains(github.event.head_commit.message, '/deploy uat')
268+
github.event.head_commit.message == '/deploy sit' ||
269+
github.event.head_commit.message == '/deploy uat'
270270
name: Deploy Backend Infrastructure Terraform
271271
runs-on: ubuntu-latest
272272

0 commit comments

Comments
 (0)