From c82a68423683e54a7934c6eccbe211af99b9c8a6 Mon Sep 17 00:00:00 2001 From: Anand Tripathi Date: Thu, 1 Feb 2024 18:06:09 +0100 Subject: [PATCH] Update compile --- bin/compile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/compile b/bin/compile index d713fde..df4a868 100644 --- a/bin/compile +++ b/bin/compile @@ -8,8 +8,7 @@ REPO_USER="$(cat $ENV_DIR/REPO_USER)" if [ "$GITHUB_TOKEN" != "" ]; then echo "-----> Using .npmrc to install packages from https://npm.pkg.github.com/$REPO_USER" - echo "@$REPO_USER:registry=https://npm.pkg.github.com/$REPO_USER" > "$BUILD_DIR/.npmrc" + echo "@$REPO_USER:registry=https://npm.pkg.github.com" > "$BUILD_DIR/.npmrc" echo "//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN" >> "$BUILD_DIR/.npmrc" - echo "//npm.pkg.github.com/$REPO_USER/:_authToken=$GITHUB_TOKEN" >> "$BUILD_DIR/.npmrc" exit 0 fi