From 3842db02fcce44b527c596fceb0dfeb90e66450f Mon Sep 17 00:00:00 2001 From: Irmantas Kaukas Date: Sun, 17 Mar 2024 13:51:39 +0100 Subject: [PATCH] updated publish from branch script --- .github/workflows/publish-from-branch.yml | 6 ++++-- .npmrc | 2 -- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 .npmrc 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