Scripts/static/docs.yml

28 lines
598 B
YAML

#include https://pages.frohnmeyer-wds.de/scripts/clone.yml
steps:
build:
image: archlinux:latest
pull: true
commands:
- pacman -Syu mdbook --noconfirm
- mdbook build
when:
- branch: master
publish:
image: woodpeckerci/plugin-s3
pull: true
settings:
bucket: pages
region: nebula
path_style: true
endpoint: https://s3.frohnmeyer-wds.de
access_key: pages
secret_key:
from_secret: pages_secret
source: public/**/*
target: /${CI_REPO}
strip_prefix: public/
when:
- branch: master