workflows

This commit is contained in:
Marc Beninca 2024-06-27 13:42:36 +02:00
parent b729cbfda7
commit 7f76ee5a36
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 29 additions and 29 deletions

View file

@ -4,17 +4,17 @@ jobs:
container:
image: debian:bookworm
steps:
- name: pidd
- name: spcd
env:
PIDD_GIT_MAIN: ${{vars.PIDD_GIT_MAIN}}
PIDD_GIT_ROOT: ${{vars.PIDD_GIT_ROOT}}
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
run: >
${{vars.PIDD}}
"${{secrets.PIDD_SSH_KEY}}"
"${{vars.PIDD_SSH_HOSTS}}"
${{vars.SPCD}}
"${{secrets.SPCD_SSH_KEY}}"
"${{vars.SPCD_SSH_HOSTS}}"
- run: pidd-list-environment
- run: pidd-clone-branch
- run: pidd-build-project
- run: pidd-browse-workspace
- run: pidd-synchronize
- run: spcd-list-environment
- run: spcd-clone-branch
- run: spcd-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize

View file

@ -5,17 +5,17 @@ jobs:
container:
image: debian:bookworm
steps:
- name: pidd
- name: spcd
env:
PIDD_GIT_MAIN: ${{vars.PIDD_GIT_MAIN}}
PIDD_GIT_ROOT: ${{vars.PIDD_GIT_ROOT}}
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
run: >
echo '${{vars.PIDD}}' | tr -d '\r' | sh -s
"${{secrets.PIDD_SSH_KEY}}"
"${{vars.PIDD_SSH_HOSTS}}"
echo '${{vars.SPCD}}' | tr -d '\r' | sh -s
"${{secrets.SPCD_SSH_KEY}}"
"${{vars.SPCD_SSH_HOSTS}}"
- run: pidd-list-environment
- run: pidd-clone-branch
- run: pidd-build-project
- run: pidd-browse-workspace
- run: pidd-synchronize
- run: spcd-list-environment
- run: spcd-clone-branch
- run: spcd-build-project
- run: spcd-browse-workspace
- run: spcd-synchronize

View file

@ -2,11 +2,11 @@ image: debian:bookworm
job:
script:
- >
sh ${PIDD}
${PIDD_SSH_KEY}
${PIDD_SSH_HOSTS}
sh ${SPCD}
${SPCD_SSH_KEY}
${SPCD_SSH_HOSTS}
- pidd-list-environment
- pidd-clone-branch
- pidd-build-project
- pidd-browse-workspace
- spcd-list-environment
- spcd-clone-branch
- spcd-build-project
- spcd-browse-workspace