29 lines
557 B
YAML
29 lines
557 B
YAML
on: [push]
|
|
jobs:
|
|
job:
|
|
runs-on: docker
|
|
container:
|
|
image: debian:bookworm
|
|
steps:
|
|
- name: Clone CD
|
|
run: |
|
|
echo '${{vars.dns}}' > '/etc/resolv.conf'
|
|
apt-get update
|
|
apt-get install --yes 'git'
|
|
git clone "${GITHUB_SERVER_URL}/rwx.work/cd" '/cd'
|
|
|
|
- run: /cd/env
|
|
|
|
- run: /cd/workspace
|
|
|
|
- name: Install tools
|
|
run: |
|
|
apt-get install --yes \
|
|
'pandoc' \
|
|
|
|
- run: /cd/branch
|
|
|
|
- name: Build
|
|
run: './build.sh'
|
|
|
|
- run: /cd/sync
|