fix: bash-only checkout in Gitea Action workflow
Some checks failed
Tangle and Deploy / tangle (push) Failing after 2s

This commit is contained in:
Hermes
2026-05-15 07:14:03 +00:00
parent 2a01bed005
commit e5d78da3cb

View File

@@ -5,13 +5,18 @@ jobs:
tangle: tangle:
runs-on: debian-latest runs-on: debian-latest
steps: steps:
- uses: actions/checkout@v4 - name: Checkout
run: |
mkdir -p /workspace
git clone --depth 1 \
http://amr:ef7dbcf8e7d4602ef5baaebacbe294723a0b45cf@10.10.10.201:3001/amr/infrastructure.git \
/workspace/infrastructure
- name: Tangle infrastructure.org - name: Tangle infrastructure.org
run: | run: |
docker run --rm \ docker run --rm \
-v /:/host \ -v /:/host \
-v $(pwd):/workspace:ro \ -v /workspace/infrastructure:/workspace:ro \
debian:stable-slim \ debian:stable-slim \
bash -c "cp -r /workspace /host/tmp/infra-tangle && chroot /host /usr/local/bin/tangle-deploy /tmp/infra-tangle" bash -c "cp -r /workspace /host/tmp/infra-tangle && chroot /host /usr/local/bin/tangle-deploy /tmp/infra-tangle"