Created
April 6, 2020 13:35
-
-
Save benjamincharity/0667ec6aedf95faf781a6e5d5ca26845 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- name: Set SHOULD_RUN flag | |
run: | | |
if [[ "${{github.event.head_commit.message}}" =~ (skip\ ci|ci\ skip) ]]; then | |
echo "::set-env name=SHOULD_RUN::false" | |
else | |
echo "::set-env name=SHOULD_RUN::true" | |
fi | |
- name: Manual build | |
run: yarn library:build:prod | |
if: env.SHOULD_RUN == 'true' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment