Compare commits

..

No commits in common. "d1a181679334cff07c792a6b6130e37efcb66ac2" and "0d46b26714a6539cb056267f189bfd9f01747610" have entirely different histories.

View file

@ -1,24 +1,57 @@
on: [push] on: [push]
jobs: jobs:
job: job:
runs-on: docker runs-on: docker
container: container:
image: debian:bookworm image: debian:bookworm
steps: steps:
- name: Sort environment
run: env | sort
- name: cd-bootstrap - name: List event
env: run: cat "${GITHUB_EVENT_PATH}"
CD: '${{secrets.cd}}'
run: eval '${{vars.cd}}'
- run: cd-list-environment - name: Set DNS
run: |
echo '${{vars.dns}}' > '/etc/resolv.conf'
cat '/etc/resolv.conf'
- run: cd-clone-branch - name: Update catalog
- run: cd-install-packages 'pandoc' run: apt-get update
- run: cd-build-project - name: Install tools
- run: cd-browse-workspace run: |
apt-get install --assume-yes \
'git' \
'tree' \
'pandoc' \
'rsync' \
- run: cd-synchronize-output 'out' - name: Clone repository
run: git clone "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}" '.'
- name: Browse workspace
run: tree -a "${GITHUB_WORKSPACE}"
- name: Build
run: './build.sh'
- name: Configure Delivery
run: |
mkdir --parents ~/.ssh
echo '${{secrets.cd}}' > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
sha256sum ~/.ssh/id_ed25519
- name: Test connection
run: |
ssh -o StrictHostKeyChecking=accept-new 'cd@de.tilde.link' \
-- hostname
- name: Synchronize output
run: |
rsync \
--archive \
--verbose \
'out/' \
"cd@de.tilde.link:/cd/${GITHUB_REF_NAME}/${GITHUB_REPOSITORY}/"