From f3373d91d3c7cdeabd335b013ad374c4ae55cbbb Mon Sep 17 00:00:00 2001
From: ko_oler <kooler89@gmail.com>
Date: Wed, 14 Dec 2022 18:10:48 +0800
Subject: [PATCH] fix

---
 .gitlab-ci.yml | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index da1af94..3ac120e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -14,15 +14,12 @@ publish_npm:
         - clients/**/*
   script:
     - cd ./config
-    - rsync -a --prune-empty-dirs --include '*/' --include '*.d.ts' --exclude '*' ../clients ./
-    - rsync -a --prune-empty-dirs --include '*/' --include '*.d.ts.map' --exclude '*' ../clients ./
-    - rsync -a --prune-empty-dirs --include '*/' --include '*.js' --exclude '*' ../clients ./
-    - rsync -a --prune-empty-dirs --include '*/' --include '*.js.map' --exclude '*' ../clients ./
+    - rsync -a --prune-empty-dirs ../clients ./
     - |
       if [[ ! -f .npmrc ]]; then
         echo 'No .npmrc found! Creating one now. Please review the following link for more information: https://docs.gitlab.com/ee/user/packages/npm_registry/index.html#project-level-npm-endpoint-1'
         {
-          echo "@${CI_PROJECT_ROOT_NAMESPACE}:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/"
+          echo "@perxis-js:registry=${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/npm/"
           echo "${CI_API_V4_URL#http*:}/packages/npm/:_authToken=\${CI_JOB_TOKEN}"
           echo "${CI_API_V4_URL#http*:}/projects/${CI_PROJECT_ID}/packages/npm/:_authToken=\${CI_JOB_TOKEN}"
         } >> .npmrc
-- 
GitLab