From d6c194f76ffe801be5b68a3baa2870464af464ec Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 28 Jul 2024 15:40:23 +0200 Subject: [PATCH] .gitea --- .gitea | 1 - .gitea/workflows/main.yaml | 20 ++++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) delete mode 120000 .gitea create mode 100644 .gitea/workflows/main.yaml diff --git a/.gitea b/.gitea deleted file mode 120000 index d9a4b42..0000000 --- a/.gitea +++ /dev/null @@ -1 +0,0 @@ -.forgejo \ No newline at end of file diff --git a/.gitea/workflows/main.yaml b/.gitea/workflows/main.yaml new file mode 100644 index 0000000..cac7f04 --- /dev/null +++ b/.gitea/workflows/main.yaml @@ -0,0 +1,20 @@ +on: [push] +jobs: + job: + container: + image: ${{vars.DOCKER||'docker.io'}}/debian:bookworm + steps: + - name: spcd + env: + SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}} + SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}} + run: > + ${{vars.SPCD}} + "${{secrets.SPCD_SSH_KEY}}" + "${{vars.SPCD_SSH_HOSTS}}" + + - run: spcd-list-environment + - run: spcd-clone-branch + - run: spcd-build-project + - run: spcd-browse-workspace + - run: spcd-synchronize