19 lines
438 B
YAML
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}"
|