Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ecraig12345 authored Feb 17, 2023
1 parent 931e524 commit 501006d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
trap "git remote set-url origin '$(git remote get-url origin)'" EXIT
# Add a token to the remote URL for auth during release
git remote set-url origin "https://$GITHUB_ACTOR:$REPO_PAT@github.com/$GITHUB_REPOSITORY.git"
git remote set-url origin "https://ecraig12345:$REPO_PAT@github.com/$GITHUB_REPOSITORY.git"
yarn release -y -n $NPM_AUTHTOKEN
env:
Expand All @@ -69,7 +69,7 @@ jobs:
run: |
# See previous step for explanation
trap "git remote set-url origin '$(git remote get-url origin)'" EXIT
git remote set-url origin "https://$GITHUB_ACTOR:$REPO_PAT@github.com/$GITHUB_REPOSITORY.git"
git remote set-url origin "https://ecraig12345:$REPO_PAT@github.com/$GITHUB_REPOSITORY.git"
yarn release:docs
env:
Expand Down

0 comments on commit 501006d

Please sign in to comment.