2024-12-25 21:20:10 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
test:
|
|
|
|
runs-on: docker
|
2024-12-25 22:28:51 +00:00
|
|
|
|
2024-12-25 22:24:13 +00:00
|
|
|
container:
|
|
|
|
image: peaceiris/mdbook
|
2024-12-25 22:28:51 +00:00
|
|
|
|
2024-12-25 21:20:10 +00:00
|
|
|
steps:
|
2024-12-25 22:30:35 +00:00
|
|
|
- name: Install dependencies
|
|
|
|
run: apk add --no-cache git nodejs util-linux
|
|
|
|
|
2024-12-25 22:28:51 +00:00
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Build mdBook
|
|
|
|
run: mdbook build
|
2024-12-25 22:24:51 +00:00
|
|
|
working-directory: docs
|
2024-12-25 22:28:51 +00:00
|
|
|
|
2024-12-26 02:57:20 +00:00
|
|
|
- name: tree
|
|
|
|
run: ls -lAR
|
|
|
|
|
2024-12-26 02:56:07 +00:00
|
|
|
- name: Save artifacts
|
|
|
|
uses: actions/upload-artifact@v4
|
|
|
|
with:
|
|
|
|
name: docs
|
2024-12-26 02:59:11 +00:00
|
|
|
path: ./docs/build/
|
|
|
|
if-no-files-found: error
|
2024-12-26 02:56:07 +00:00
|
|
|
|
2024-12-25 22:28:51 +00:00
|
|
|
- name: Done
|
|
|
|
run: echo done!
|