Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
wangguanjiaatyuanze authored Mar 29, 2024
1 parent e8be71a commit 26f3efb
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ jobs:
# 设置npm配置
- name: Set npm configuration
run: |
npm config set registry https://registry.npmmirror.com
npm config set @yuanze:registry https://jihulab.com/api/v4/projects/19983/packages/npm/
npm config set -- "//jihulab.com/api/v4/projects/19983/packages/npm/:_authToken" "${{ secrets.CI_JOB_TOKEN }}"
npm config set registry https://registry.npmjs.org/
# 安装依赖
- name: Install Dependencies
Expand All @@ -28,7 +26,7 @@ jobs:

# 安装lusun-scripts
- name: Install lusun-scripts
run: npm i -g @yuanze/lusun-scripts
run: npm i -g lusun-scripts

# 使用lusun-scripts部署到阿里云OSS
- name: Deploy to OSS
Expand Down

0 comments on commit 26f3efb

Please sign in to comment.