docs: add Universal Context capsule #39

Merged
Jacky merged 3 commits from chore/universal-context-capsule into main 2026-09-28 23:47:27 +08:00
Showing only changes of commit 49fd8598e7 - Show all commits
+6 -2
View File
@@ -26,10 +26,14 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
env: env:
REPOSITORY_URL: http://117.72.28.96:8765/Jacky/Hulumath-Web.git CHECKOUT_TOKEN: ${{ github.token }}
REVISION: ${{ gitea.sha }} REVISION: ${{ gitea.sha }}
run: | run: |
git clone "$REPOSITORY_URL" . set -euo pipefail
git init .
git remote add origin "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git"
git -c http.extraHeader="Authorization: token ${CHECKOUT_TOKEN}" \
fetch --depth=1 origin "$REVISION"
git checkout --detach "$REVISION" git checkout --detach "$REVISION"
- name: Show Python version - name: Show Python version
run: python3 --version run: python3 --version