From 3f798f16799433776d792c6beeb3c2e470ed5329 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 13 Oct 2024 19:36:46 +0200 Subject: [PATCH] workflow --- .forgejo/workflows/main.yaml | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 45a31dc..91e69a2 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,15 +1,20 @@ on: [push] jobs: job: - runs-on: bookworm + container: + image: ${{vars.DOCKER}}debian:bookworm steps: - - name: cd + - name: spcd env: - CD: '${{secrets.cd}}' - run: eval '${{vars.cd}}' + SPCD: ${{vars.SPCD}} + SPCD_GIT_RWX: ${{vars.SPCD_GIT_RWX}} + SPCD_GIT_SPCD: ${{vars.SPCD_GIT_SPCD}} + SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}} + SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}} + SPCD_TXT_LOCALE: ${{vars.SPCD_TXT_LOCALE}} + run: ${{vars.SPCD}} - - run: cd-clone-branch - - - run: cd-browse-workspace - - - run: cd-synchronize 'in' + - run: spcd-check-project + - run: spcd-build-project + - run: spcd-browse-workspace + - run: spcd-synchronize in