- 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'