side_menu_doc/.woodpecker.yml

19 lines
438 B
YAML
Raw Normal View History

2023-02-11 23:57:28 +01:00
pipeline:
build:
image: gitnet.fr/deblan/mkdocs
commands:
- mkdocs build
update:
image: alpine/git
commands:
- git fetch --no-tags origin +refs/heads/pages
- git switch pages
- git config --global user.email ci@gitnet.fr
- git config --global user.name CI
- mv site /tmp/
- rm * -fr
- mv /tmp/site/* .
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"