Some checks failed
Tangle and Deploy / tangle (push) Failing after 12s
- Converted Traefik section to tangle blocks with absolute paths - Created .gitea/workflows/tangle.yaml Gitea Action - tangle-deploy.sh: tangles org → writes files → restarts services
24 lines
672 B
YAML
24 lines
672 B
YAML
name: Tangle and Deploy
|
|
on: [push]
|
|
|
|
jobs:
|
|
tangle:
|
|
runs-on: debian-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Tangle infrastructure.org
|
|
run: |
|
|
docker run --rm \
|
|
-v /:/host \
|
|
-v $(pwd):/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 affected 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'"
|