Fix CI: self-contained checkout (no GitHub actions)
Deploy / build (push) Failing after 2s

This commit is contained in:
2026-09-06 04:24:00 +08:00
parent 8372d5e659
commit 946b51a801
+4 -6
View File
@@ -9,12 +9,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
run: |
git config --global --add safe.directory '*'
git clone --depth 1 "https://git.hoelee.com/hoelee/hoelee-blog.git" .
git checkout $GITHUB_SHA 2>/dev/null || true
- name: Install dependencies
run: npm ci