Files
infrastructure/.gitea/workflows/tangle.yaml
Hermes aa6aacd346
Some checks failed
Tangle and Deploy / tangle (push) Failing after 26s
fix: install git in runner step
2026-05-15 07:15:00 +00:00

30 lines
948 B
YAML

name: Tangle and Deploy
on: [push]
jobs:
tangle:
runs-on: debian-latest
steps:
- name: Checkout
run: |
apt-get update -qq && apt-get install -y -qq git 2>&1 | tail -2
mkdir -p /workspace
git clone --depth 1 \
http://amr:ef7dbcf8e7d4602ef5baaebacbe294723a0b45cf@10.10.10.201:3001/amr/infrastructure.git \
/workspace/infrastructure
- name: Tangle
run: |
docker run --rm \
-v /:/host \
-v /workspace/infrastructure:/workspace:ro \
debian:stable-slim \
bash -c "cp -r /workspace /host/tmp/infra-tangle && chroot /host /usr/local/bin/tangle-deploy /tmp/infra-tangle"
- name: Restart services
run: |
docker run --rm \
-v /:/host \
debian:stable-slim \
bash -c "chroot /host bash -c 'cd /docker/compose && docker compose up -d traefik 2>&1'"