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]
|
||||
jobs:
|
||||
job:
|
||||
runs-on: bookworm
|
||||
container:
|
||||
image: ${{vars.DOCKER}}debian:bookworm
|
||||
steps:
|
||||
- name: cd
|
||||
- name: spcd
|
||||
env:
|
||||
CD: '${{secrets.cd}}'
|
||||
run: eval '${{vars.cd}}'
|
||||
SPCD: ${{vars.SPCD}}
|
||||
SPCD_SSH_HOSTS: ${{vars.SPCD_SSH_HOSTS}}
|
||||
SPCD_SSH_KEY: ${{secrets.SPCD_SSH_KEY}}
|
||||
run: ${{vars.SPCD}}
|
||||
|
||||
- run: cd-clone-branch
|
||||
|
||||
- run: cd-browse-workspace
|
||||
|
||||
- run: cd-synchronize 'in'
|
||||
- run: spcd-build-project
|
||||
- run: spcd-browse-workspace
|
||||
- run: spcd-synchronize
|
||||
|
|
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