更换gitea actions npm源
Some checks failed
ARS Tools Deploy / build-and-deploy (push) Failing after 45s

This commit is contained in:
San Liy 2023-12-15 19:43:39 +08:00
parent dfa18a35a6
commit 5c902e0f65

View File

@ -11,13 +11,15 @@ jobs:
build-and-deploy: build-and-deploy:
runs-on: node-21 runs-on: node-21
steps: steps:
- name: 获取仓库 - name: 🎄获取仓库
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: 'main' ref: 'main'
- name: npm安装依赖 - name: 🖋配置npm源
run: npm config set registry https://registry.npmmirror.com
- name: npm安装依赖
run: npm install run: npm install
- name: 🔧npm构建 - name: 🌺npm构建
run: vite build run: vite build
- name: 💪部署 - name: 💪部署
uses: JamesIves/github-pages-deploy-action@v4.5.0 uses: JamesIves/github-pages-deploy-action@v4.5.0