ci(deploy): add checkout step to deploy workflow

The workflow assumed $GITHUB_WORKSPACE was already a git repo, but the
host-mode runner doesn't auto-checkout. Added an explicit clone step using
the runner's deploy key (gitea@giteassh.buzzbee.dev).
This commit is contained in:
2026-09-05 08:57:27 -04:00
parent 69ee51abc7
commit 75e81211ea
+5
View File
@@ -6,6 +6,11 @@ jobs:
deploy:
runs-on: linux-amd64
steps:
- name: Checkout
run: |
rm -rf $GITHUB_WORKSPACE
mkdir -p $GITHUB_WORKSPACE
git clone --depth 1 --branch custom https://gitea@giteassh.buzzbee.dev:Vibing/openchamber.git $GITHUB_WORKSPACE
- name: Show revision
run: git -C $GITHUB_WORKSPACE rev-parse --short HEAD
- name: Copy workspace to build dir