git/.forgejo/workflows/main.yaml

28 lines
637 B
YAML
Raw Normal View History

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:17:31 +00:00
git clone "${GITHUB_SERVER_URL}/rwx.work/cd" '/usr/local/sbin'
2024-03-22 15:10:04 +00:00
2024-03-22 23:26:07 +00:00
- env:
TOP_SECRET: ${{secrets.top_secret}}
2024-03-22 23:31:27 +00:00
run: cd-list-environment
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