Skip to content

Commit e9e5eb8

Browse files
committed
fix env
- as it turns out we can not reference other env values in another env value
1 parent c67edca commit e9e5eb8

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/pipeline.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
name: Deployment pipeline
22

33
env:
4-
IS_PUSH: ${{ github.event_name == 'push' }}
5-
HAS_SKIP_MESSAGE: ${{ contains(join(github.event.commits.*.message), '#skip') }}
6-
SHOULD_DEPLOY: ${{ github.env.IS_PUSH == 'true' && github.env.HAS_SKIP_MESSAGE != 'true' }}
4+
SHOULD_DEPLOY: ${{ github.event_name == 'push' && !contains(join(github.event.commits.*.message), '#skip') }}
75

86
on:
97
push:

0 commit comments

Comments
 (0)