prj/.github/workflows/main.yaml

22 lines
547 B
YAML
Raw Normal View History

2024-06-16 19:49:41 +00:00
on: [push]
jobs:
job:
2024-06-17 10:57:38 +00:00
runs-on: ubuntu-latest
2024-06-16 19:49:41 +00:00
container:
2024-07-22 12:41:29 +00:00
image: ${{vars.DOCKER||'docker.io'}}/debian:bookworm
2024-06-16 19:49:41 +00:00
steps:
2024-06-27 11:42:36 +00:00
- name: spcd
2024-06-23 21:30:34 +00:00
env:
2024-06-27 11:42:36 +00:00
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
2024-06-17 10:57:38 +00:00
run: >
2024-06-27 11:42:36 +00:00
echo '${{vars.SPCD}}' | tr -d '\r' | sh -s
"${{secrets.SPCD_SSH_KEY}}"
"${{vars.SPCD_SSH_HOSTS}}"
2024-06-16 19:49:41 +00:00
2024-06-27 11:42:36 +00:00
- run: spcd-list-environment
- run: spcd-clone-branch
- run: spcd-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize