From 455bd13d4f2c540ae47f9eb9a5ca7f744df88a33 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 17 Jul 2024 11:17:15 +0200 Subject: [PATCH] spcd --- .forgejo/workflows/main.yaml | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index fc11405..7d352ee 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,16 +1,20 @@ on: [push] jobs: job: - runs-on: bookworm + container: + image: debian:bookworm steps: - - name: cd + - name: spcd env: - CD: '${{secrets.cd}}' - run: eval '${{vars.cd}}' + 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: cd-clone-branch - - run: cd-install-packages 'graphviz' - - - run: cd-build-project - - - run: cd-synchronize 'out/web' + - run: spcd-list-environment + - run: spcd-clone-branch + - run: spcd-build-project + - run: spcd-browse-workspace + - run: spcd-synchronize