更新 .gitea/workflows/build-action.yaml
Frontend CI/CD / build (web-office) (push) Waiting to run Details

This commit is contained in:
z9130 2024-09-16 16:29:29 +08:00
parent a6703937d2
commit 6cca925507
1 changed files with 12 additions and 12 deletions

View File

@ -13,18 +13,18 @@ jobs:
steps:
# Checkout the repository
- name: Checkout the repository
uses: https://gitea.com/actions/checkout@v4
with:
fetch-depth: 0
# - name: Clone repository
# run: |
# sudo apt-get update
# sudo apt-get install -y git
# git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git pansoft-plrl --depth 1
# cd pansoft-plrl
# # Optionally check out a specific branch
# git checkout test
# - name: Checkout the repository
# uses: https://gitea.com/actions/checkout@v4
# with:
# fetch-depth: 0
- name: Clone repository
run: |
apt-get update
apt-get install -y git
git clone http://172.19.183.27:3000/z9130/pansoft-plrl.git pansoft-plrl --depth 1
cd pansoft-plrl
# Optionally check out a specific branch
git checkout test
- run: npm config set registry https://registry.npmmirror.com