Skip to content

Commit

Permalink
fix: ci scripts due to the deprecation of echo-env (#460)
Browse files Browse the repository at this point in the history
* testing the new syntax

* fixing the ci script
  • Loading branch information
gullerya authored Nov 23, 2020
1 parent cfde2eb commit cba1c36
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-showcase-dev-s3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: yarn storybook:build

- name: Create deploy timestamp/version
run: echo "STORYBOOK_DEPLOY_TIMESTAMP="$(jq -r '.timestamp' ./.storybook/static/build-details.json) >> $GITHUB_ENV
run: echo "STORYBOOK_DEPLOY_TIMESTAMP=$(jq -r '.timestamp' ./.storybook/static/build-details.json)" >> $GITHUB_ENV

- name: Deploy showcase versioned as ${{ env.STORYBOOK_DEPLOY_TIMESTAMP }}
run: aws s3 sync ./.out/ s3://${{ secrets.AWS_S3_BUCKET_B }}/${{ env.STORYBOOK_DEPLOY_TIMESTAMP }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Update to a new version
- name: Extract release version
id: extractVersion
run: echo "::set-output name=version::$(echo ${GITHUB_REF##*/release-})"
run: echo "version=$(echo ${GITHUB_REF##*/release-})" >> $GITHUB_ENV

- name: Delete temporary trigger tag
run: git push origin --delete release-${{ steps.extractVersion.outputs.version }}
Expand Down

0 comments on commit cba1c36

Please sign in to comment.