Skip to content

Commit

Permalink
Check for secrets.* before running jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoref committed May 30, 2024
1 parent ff5f1d1 commit 785e7de
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release-tweet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,14 @@ jobs:
FORCE_PUBLISH: ${{ github.event.inputs.force }}
- name: Post to Twitter
uses: firebase/firebase-admin-node/.github/actions/send-tweet@master
if: ${{
env.consumer-key != '' &&
env.consumer-secret != '' &&
env.access-token != '' &&
env.access-token-secret != '' &&
1 ||
''
}}
with:
status: >
v${{github.event.inputs.version}} of @Firebase JavaScript client for Web / Node.js is available.
Expand Down

0 comments on commit 785e7de

Please sign in to comment.