Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
- 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