Compare commits

...

4 Commits
dev ... main

Author SHA1 Message Date
7a8d228615 ci: checkout with --branch ref_name
All checks were successful
Build and Deploy (app.xpcool.com) / build-and-deploy (push) Successful in 49s
2026-08-22 14:47:53 +08:00
c28025d875 ci: use Tencent apt mirror
Some checks failed
Build and Deploy (app.xpcool.com) / build-and-deploy (push) Failing after 6s
2026-08-22 14:41:36 +08:00
2d84dbbb80 ci: local checkout (no external actions)
Some checks failed
Build and Deploy (app.xpcool.com) / build-and-deploy (push) Failing after 4m4s
2026-08-22 14:30:31 +08:00
9aeb1957f5 ci: trigger deploy run
Some checks are pending
Build and Deploy (app.xpcool.com) / build-and-deploy (push) Waiting to run
2026-08-22 14:21:56 +08:00
2 changed files with 17 additions and 4 deletions

1
.ci-trigger Normal file
View File

@ -0,0 +1 @@
ci trigger 20260822T062156Z

View File

@ -1,3 +1,4 @@
# deployed by gitea act_runner (push to main/dev triggers this)
name: Build and Deploy (app.xpcool.com)
on:
@ -9,13 +10,24 @@ jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Install git (node image has no git)
run: apt-get update && apt-get install -y git
- name: Install git (Tencent mirror apt)
run: |
sed -i 's|deb.debian.org|mirrors.cloud.tencent.com|g; s|security.debian.org|mirrors.cloud.tencent.com|g' /etc/apt/sources.list 2>/dev/null || true
sed -i 's|deb.debian.org|mirrors.cloud.tencent.com|g; s|security.debian.org|mirrors.cloud.tencent.com|g' /etc/apt/sources.list.d/debian.sources 2>/dev/null || true
apt-get update
apt-get install -y git
- name: Checkout
uses: actions/checkout@v4
- name: Checkout (local Gitea, no external actions)
run: |
git clone --depth 1 --branch "${{ github.ref_name }}" https://oauth2:${{ github.token }}@git.xpcool.com/${{ github.repository }}.git .
git checkout ${{ github.sha }}
- name: Use npmmirror registry (faster in CN)
run: npm config set registry https://registry.npmmirror.com
- name: Enable pnpm via corepack
env:
COREPACK_NPM_REGISTRY: https://registry.npmmirror.com
run: |
corepack enable
corepack prepare pnpm@10 --activate