side_menu_doc/.woodpecker.yml
Simon Vieille a8075a7bdc
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful
init
2023-02-11 23:57:28 +01:00

19 lines
438 B
YAML

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}"