Skip to content

Commit

Permalink
chore: ci: fix PACKAGE_VERSION env var (#103)
Browse files Browse the repository at this point in the history
  • Loading branch information
RebeccaStevens authored Feb 22, 2023
1 parent e037b0d commit fc29e43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/release-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
id: deployment
uses: actions/deploy-pages@v1

- run: 'echo "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: ''{ print $2 }'' | sed ''s/[",]//g'')" >> $GITHUB_ENV'
- run: 'echo "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: ''{ print $2 }'' | sed ''s/[", ]//g'')" >> $GITHUB_ENV'
- name: Update Coverage Badge
run: cp ./docs/generated/v$PACKAGE_VERSION/coverage.svg ./docs/coverage.svg

Expand Down

0 comments on commit fc29e43

Please sign in to comment.