Skip to content

Commit

Permalink
Update build&deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andypf authored Apr 12, 2024
1 parent ce3e740 commit 6ba83e0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build&deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
# echo @sapcc:registry=https://npm.pkg.github.com/ > .npmrc
echo always-auth=true >> .npmrc
# echo //npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
echo "registry=https://npm.pkg.github.com/sapcc//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }} >> .npmrc
echo "registry=https://npm.pkg.github.com/sapcc//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> .npmrc
echo scope=@sapcc >> .npmrc
echo "====================1"
cat ./.npmrc
Expand All @@ -68,6 +68,8 @@ jobs:
# run: npm run build

- name: Publish to github packages
run: npm -w @sapcc/exampleapp publish
run: |
npm -w @sapcc/exampleapp publish --dry-run
npm -w @sapcc/exampleapp publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 6ba83e0

Please sign in to comment.