diff --git a/.github/workflows/publish-from-branch.yml b/.github/workflows/publish-from-branch.yml index 24f2fe974d..d0555a3cba 100644 --- a/.github/workflows/publish-from-branch.yml +++ b/.github/workflows/publish-from-branch.yml @@ -1,7 +1,6 @@ name: Publish from branch -on: - workflow_dispatch +on: workflow_dispatch jobs: publish-from-branch: name: Publish from branch @@ -18,4 +17,7 @@ jobs: with: username: ${{ secrets.DOCKER_USER }} password: ${{ secrets.DOCKER_HUB_TOKEN }} + - run: | + echo "//npm.pkg.github.com/:_authToken=${{ secrets.ORG_GITHUB_PACKAGES_PAT }}" > ~/.npmrc + echo "registry=https://npm.pkg.github.com/dasch-swiss" >> ~/.npmrc - run: make docker-publish diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 3702e31058..0000000000 --- a/.npmrc +++ /dev/null @@ -1,2 +0,0 @@ -//npm.pkg.github.com/:_authToken=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 -@irmastnt:registry=https://npm.pkg.github.com/dasch-swiss \ No newline at end of file