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