−ssh
This commit is contained in:
parent
c17c9d7c7a
commit
887f406f8b
3 changed files with 3 additions and 12 deletions
|
@ -8,10 +8,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
|
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
|
||||||
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
|
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
|
||||||
run: >
|
run: ${{vars.SPCD}}
|
||||||
${{vars.SPCD}}
|
|
||||||
"${{secrets.SPCD_SSH_KEY}}"
|
|
||||||
"${{vars.SPCD_SSH_HOSTS}}"
|
|
||||||
|
|
||||||
- run: spcd-list-environment
|
- run: spcd-list-environment
|
||||||
- run: spcd-build-project
|
- run: spcd-build-project
|
||||||
|
|
5
.github/workflows/main.yaml
vendored
5
.github/workflows/main.yaml
vendored
|
@ -9,10 +9,7 @@ jobs:
|
||||||
env:
|
env:
|
||||||
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
|
SPCD_GIT_MAIN: ${{vars.SPCD_GIT_MAIN}}
|
||||||
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
|
SPCD_GIT_ROOT: ${{vars.SPCD_GIT_ROOT}}
|
||||||
run: >
|
run: echo '${{vars.SPCD}}' | tr -d '\r' | sh -s
|
||||||
echo '${{vars.SPCD}}' | tr -d '\r' | sh -s
|
|
||||||
"${{secrets.SPCD_SSH_KEY}}"
|
|
||||||
"${{vars.SPCD_SSH_HOSTS}}"
|
|
||||||
|
|
||||||
- run: spcd-list-environment
|
- run: spcd-list-environment
|
||||||
- run: spcd-build-project
|
- run: spcd-build-project
|
||||||
|
|
|
@ -1,10 +1,7 @@
|
||||||
image: ${DOCKER}debian:bookworm
|
image: ${DOCKER}debian:bookworm
|
||||||
job:
|
job:
|
||||||
script:
|
script:
|
||||||
- >
|
- sh ${SPCD}
|
||||||
sh ${SPCD}
|
|
||||||
${SPCD_SSH_KEY}
|
|
||||||
${SPCD_SSH_HOSTS}
|
|
||||||
|
|
||||||
- spcd-list-environment
|
- spcd-list-environment
|
||||||
- spcd-build-project
|
- spcd-build-project
|
||||||
|
|
Loading…
Reference in a new issue