ci: replace actions/checkout with git clone (no Node.js in runner)

This commit is contained in:
2026-07-19 18:56:02 +08:00
parent 2a24c16244
commit e1faacf7a7
+5 -1
View File
@@ -14,12 +14,16 @@ on:
env:
REGISTRY: 192.168.123.199:5000
APP: lpt-fe
REPO_URL: http://git.cat-shark.xyz/cat-shark/lpt-fe.git
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Checkout code
run: |
git clone $REPO_URL .
git checkout ${{ github.sha }}
- name: Build & Push Docker image
run: |