Skip to content

Commit 8f83bb9

Browse files
ci(node-ci.yml): Tweak push condition.
1 parent 8c1f0a3 commit 8f83bb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/node-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
# Note that AWS CLI v2 is already installed by default on GitHub's Ubuntu 20.04.
4242
# per https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md#cli-tools.
4343
- name: Add AWS credentials
44-
if: ${{ env.IS_PUSH_TO_MASTER == true }}
44+
if: ${{ env.IS_PUSH_TO_MASTER == 'true' }}
4545
run: mkdir ~/.aws && printf '%s\n' '[default]' "aws_access_key_id=$AWS_ACCESS_KEY_ID" "aws_secret_access_key=$AWS_SECRET_ACCESS_KEY" "region=$AWS_REGION" > ~/.aws/config
4646
env:
4747
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
@@ -50,5 +50,5 @@ jobs:
5050
# Deploy storybook demo to S3 if handling a push (non-PR build) on the main branch
5151
# https://s3.amazonaws.com/transitive.js/index.html
5252
- name: Deploy storybook to S3
53-
if: ${{ env.IS_PUSH_TO_MASTER == true }}
53+
if: ${{ env.IS_PUSH_TO_MASTER == 'true' }}
5454
run: yarn deploy-storybook

0 commit comments

Comments
 (0)