project/.github/workflows/main.yaml

22 lines
547 B
YAML
Raw Normal View History

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