Compare commits
4 commits
4229ccd6f9
...
955406d39d
Author | SHA1 | Date | |
---|---|---|---|
955406d39d | |||
08138d21a2 | |||
ffcecaa496 | |||
219b58c762 |
2 changed files with 22 additions and 9 deletions
|
@ -1,15 +1,16 @@
|
||||||
on: [push]
|
on: [push]
|
||||||
jobs:
|
jobs:
|
||||||
job:
|
job:
|
||||||
runs-on: bookworm
|
container:
|
||||||
|
image: ${{vars.DOCKER}}debian:bookworm
|
||||||
steps:
|
steps:
|
||||||
- name: cd
|
- name: spcd
|
||||||
env:
|
env:
|
||||||
CD: '${{secrets.cd}}'
|
SPCD: ${{vars.SPCD}}
|
||||||
run: eval '${{vars.cd}}'
|
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
|
||||||
|
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
|
||||||
|
run: ${{vars.SPCD}}
|
||||||
|
|
||||||
- run: cd-clone-branch
|
- run: spcd-build-project
|
||||||
|
- run: spcd-browse-workspace
|
||||||
- run: cd-browse-workspace
|
- run: spcd-synchronize
|
||||||
|
|
||||||
- run: cd-synchronize 'in'
|
|
||||||
|
|
12
build.sh
Executable file
12
build.sh
Executable file
|
@ -0,0 +1,12 @@
|
||||||
|
#! /usr/bin/env bash
|
||||||
|
FILE="$(realpath "${BASH_SOURCE[0]}")"
|
||||||
|
ROOT="$(dirname "${FILE}")"
|
||||||
|
|
||||||
|
rsync \
|
||||||
|
--archive \
|
||||||
|
--delete-before \
|
||||||
|
--partial \
|
||||||
|
--progress \
|
||||||
|
--verbose \
|
||||||
|
"${ROOT}/in/" \
|
||||||
|
"${ROOT}/out/"
|
Loading…
Reference in a new issue