prj/.github/workflows/main.yaml

21 lines
504 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-28 15:00:24 +00:00
image: ${{vars.DOCKER}}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-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize