Skip to content

Commit

Permalink
ci: another attempt to fix copy command
Browse files Browse the repository at this point in the history
  • Loading branch information
blaky authored Feb 16, 2023
1 parent 8d198b9 commit 80e0588
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/copy-package.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ jobs:
node-version: '14'

- name: Copy released package to private GitHub NPM registry
run: npx @kenan/npm-copy --from https://registry.npmjs.org --from-username any --from-password any --to=https://npm.pkg.github.com --to-email="${GIT_COMMITTER_EMAIL}" --to-token="${NODE_AUTH_TOKEN}" %40sage%2Fdesign-tokens
run: npx npm-copy --from https://registry.npmjs.org --from-username any --from-password any --to=https://npm.pkg.github.com --to-email="${GIT_COMMITTER_EMAIL}" --to-token="${NODE_AUTH_TOKEN}" %40sage%2Fdesign-tokens
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}

- name: Copy released package to private to X3 Nexus Registry
run: npx @kenan/npm-copy --from https://registry.npmjs.org --from-username any --from-password any --to=https://repository.sagex3.com:8443/repository/x3-npm-hosted/ --to-email="${GIT_COMMITTER_EMAIL}" --to-username="${X3_NPM_USER}" --to-password="${X3_NPM_PASSWORD}" %40sage%2Fdesign-tokens
run: npx npm-copy --from https://registry.npmjs.org --from-username any --from-password any --to=https://repository.sagex3.com:8443/repository/x3-npm-hosted/ --to-email="${GIT_COMMITTER_EMAIL}" --to-username="${X3_NPM_USER}" --to-password="${X3_NPM_PASSWORD}" %40sage%2Fdesign-tokens
env:
X3_NPM_USER: ${{ secrets.X3_NPM_USER }}
X3_NPM_PASSWORD: ${{ secrets.X3_NPM_PASSWORD }}
GIT_COMMITTER_EMAIL: ${{ secrets.GIT_COMMITTER_EMAIL }}

0 comments on commit 80e0588

Please sign in to comment.