From ae95d1a98576aa104e28189db0c3067252dbb02b Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 17 Jul 2024 20:18:47 +0200 Subject: [PATCH] workflow --- .forgejo/workflows/main.yaml | 29 ++++++++++++----------------- 1 file changed, 12 insertions(+), 17 deletions(-) diff --git a/.forgejo/workflows/main.yaml b/.forgejo/workflows/main.yaml index 2a564cd..5d6fab0 100644 --- a/.forgejo/workflows/main.yaml +++ b/.forgejo/workflows/main.yaml @@ -1,22 +1,17 @@ on: [push] jobs: job: - runs-on: bookworm + container: + image: debian:bookworm steps: - - name: cd - env: - CD: '${{secrets.cd}}' - run: eval '${{vars.cd}}' + - name: spcd + run: > + ${{vars.SPCD}} + "${{secrets.SPCD_SSH_KEY}}" + "${{vars.SPCD_SSH_HOSTS}}" - - run: cd-clone-branch - - - run: cd-clone-python 'rwx.work/rwx' - - run: | - cd-install-packages \ - 'python3-sphinx' \ - 'python3-sphinx-rtd-theme' \ - - - run: cd-build-project - - run: cd-browse-workspace - - - run: cd-synchronize 'out/rtfd' + - run: spcd-list-environment + - run: spcd-clone-branch + - run: spcd-build-project + - run: spcd-browse-workspace + - run: spcd-synchronize