Scripts/static/docs.yml

29 lines
658 B
YAML
Raw Normal View History

2022-11-03 15:45:14 +01:00
#include https://pages.frohnmeyer-wds.de/scripts/clone.yml
2023-12-07 19:06:56 +01:00
steps:
2022-10-28 16:03:23 +02:00
build:
image: archlinux:latest
2023-12-07 19:06:56 +01:00
pull: true
2022-10-28 16:03:23 +02:00
commands:
2023-08-13 19:50:28 +02:00
- pacman -Syu mdbook --noconfirm
2022-10-28 16:03:23 +02:00
- mdbook build
when:
- branch: ${CI_REPO_DEFAULT_BRANCH}
2022-10-28 16:03:23 +02:00
publish:
image: woodpeckerci/plugin-s3
2023-12-07 19:06:56 +01:00
pull: true
2022-10-28 16:03:23 +02:00
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
2022-10-28 16:03:23 +02:00
when:
- branch: ${CI_REPO_DEFAULT_BRANCH}