Skip to content

Commit a6bc143

Browse files
committed
Skip gem push if environment variable GEM_HOST_API_KEY is not set
1 parent 6a8650b commit a6bc143

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434
#
3535
- name: Publish
3636
run: |
37+
if [ -z "${GEM_HOST_API_KEY}" ]; then exit 0; fi
3738
rake build
3839
gem push pkg/${EMBULK_PLUGIN_NAME}-${{ steps.vars.outputs.version }}.gem
3940
env:

0 commit comments

Comments
 (0)