Skip to content

Commit

Permalink
feat(tokens): update to variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Harry Whorlow committed Jan 2, 2024
1 parent bbb4def commit 0568c38
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-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Replace token in .npmrc
run: |
sed -i "s|//npm.greensock.com/:_authToken=[a-zA-Z0-9]*|//npm.greensock.com/:_authToken=${{ secrets.GSAP_TOKEN }}|" .npmrc
sed -i "s/\${GSAP_TOKEN}/${{ secrets.GSAP_TOKEN }}/g" .npmrc
cat .npmrc
- name: Install, build, and upload your site
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
always-auth=true
//npm.greensock.com/:_authToken=
//npm.greensock.com/:_authToken=${GSAP_TOKEN}
@gsap:registry=https://npm.greensock.com

0 comments on commit 0568c38

Please sign in to comment.