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] 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
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/"