2024-03-22 15:10:04 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
job:
|
|
|
|
runs-on: docker
|
|
|
|
container:
|
|
|
|
image: debian:bookworm
|
|
|
|
steps:
|
2024-03-22 22:15:17 +00:00
|
|
|
- name: Clone CD
|
2024-03-22 15:10:04 +00:00
|
|
|
run: |
|
|
|
|
echo '${{vars.dns}}' > '/etc/resolv.conf'
|
2024-03-22 22:15:17 +00:00
|
|
|
apt-get update
|
|
|
|
apt-get install --yes 'git'
|
2024-03-22 23:14:48 +00:00
|
|
|
git clone "${GITHUB_SERVER_URL}/rwx.work/cd" '/usr/local/bin'
|
2024-03-22 15:10:04 +00:00
|
|
|
|
2024-03-22 23:14:48 +00:00
|
|
|
- run: cd-list-environment
|
2024-03-22 15:10:04 +00:00
|
|
|
|
2024-03-22 23:14:48 +00:00
|
|
|
- run: ls -al /usr/local/sbin
|
2024-03-22 15:10:04 +00:00
|
|
|
- name: Install tools
|
|
|
|
run: |
|
2024-03-22 22:15:17 +00:00
|
|
|
apt-get install --yes \
|
2024-03-22 15:15:15 +00:00
|
|
|
'pandoc' \
|
2024-03-22 15:10:04 +00:00
|
|
|
|
2024-03-22 23:14:48 +00:00
|
|
|
- run: cd-clone-branch
|
|
|
|
- run: cd-build
|
|
|
|
- run: cd-browse-workspace
|
|
|
|
- run: cd-synchronize-output
|