Scripts/static/docs.yml
JFronny f2668f5bbc
All checks were successful
ci/woodpecker/push/gradle Pipeline was successful
ci/woodpecker/push/pages Pipeline was successful
chore: enable overwrite (why is this even off by default?!)
2024-07-18 12:23:18 +02:00

29 lines
620 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/
overwrite: true
when:
- branch: master