31 lines
592 B
YAML
31 lines
592 B
YAML
on: [push]
|
|
jobs:
|
|
test:
|
|
runs-on: docker
|
|
|
|
container:
|
|
image: peaceiris/mdbook
|
|
|
|
steps:
|
|
- name: Install dependencies
|
|
run: apk add --no-cache git nodejs util-linux
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build mdBook
|
|
run: mdbook build
|
|
working-directory: docs
|
|
|
|
- name: tree
|
|
run: ls -lAR
|
|
|
|
- name: Save artifacts
|
|
uses: actions/upload-artifact@v4
|
|
with:
|
|
name: docs
|
|
path: ./docs/build/
|
|
if-no-files-found: error
|
|
|
|
- name: Done
|
|
run: echo done!
|