project/.forgejo/workflows/main.yaml
2024-07-22 14:35:23 +02:00

21 lines
490 B
YAML

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