Compare commits

..

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

View file

@ -1,24 +1,57 @@
on: [push]
jobs:
job:
runs-on: docker
container:
image: debian:bookworm
steps:
- name: Sort environment
run: env | sort
- name: cd-bootstrap
env:
CD: '${{secrets.cd}}'
run: eval '${{vars.cd}}'
- name: List event
run: cat "${GITHUB_EVENT_PATH}"
- run: cd-list-environment
- name: Set DNS
run: |
echo '${{vars.dns}}' > '/etc/resolv.conf'
cat '/etc/resolv.conf'
- run: cd-clone-branch
- run: cd-install-packages 'pandoc'
- name: Update catalog
run: apt-get update
- run: cd-build-project
- run: cd-browse-workspace
- name: Install tools
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}/"