Remove Gitea Action workflow — replaced by systemd timer
This commit is contained in:
@@ -1,29 +0,0 @@
|
||||
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 docker.io 2>&1 | tail -1
|
||||
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'"
|
||||
Reference in New Issue
Block a user