Compare commits

...

4 commits

Author SHA1 Message Date
955406d39d
build
All checks were successful
/ job (push) Successful in 3m38s
2024-07-30 21:33:20 +02:00
08138d21a2
fixes
Some checks failed
/ job (push) Failing after 3m42s
2024-07-30 20:30:41 +02:00
ffcecaa496
spcd
Some checks failed
/ job (push) Failing after 5s
2024-07-30 20:27:58 +02:00
219b58c762
docker 2024-07-22 15:07:48 +02:00
2 changed files with 22 additions and 9 deletions

View file

@ -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
View 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/"