Skip to content

Commit

Permalink
try new secret
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkal committed Sep 17, 2020
1 parent 8e0e1be commit 30e35df
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@ jobs:
node-version: 12.x
- name: publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
git config --global user.email "${{ github.actor }}@users.noreply.github.com"
git config --global user.name "${{ github.actor }}"
git remote set-url origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git"
npm whoami || echo failed
cp common/config/rush/.npmrc-publish ~/.npmrc
npm whoami
# node common/scripts/install-run-rush.js install
# node common/scripts/install-run-rush.js build
# node common/scripts/install-run-rush.js publish --target-branch main --publish --apply
node common/scripts/install-run-rush.js install
node common/scripts/install-run-rush.js build
node common/scripts/install-run-rush.js publish --target-branch main --publish --apply

0 comments on commit 30e35df

Please sign in to comment.