23 lines
437 B
YAML
23 lines
437 B
YAML
|
pipeline:
|
||
|
build:
|
||
|
image: klakegg/hugo
|
||
|
|
||
|
update:
|
||
|
image: alpine/git
|
||
|
commands:
|
||
|
- switch pages
|
||
|
- add public/*
|
||
|
- commit -m build
|
||
|
|
||
|
deploy:
|
||
|
image: appleboy/drone-git-push
|
||
|
secrets: [ssh_priv_key]
|
||
|
commands:
|
||
|
branch: pages
|
||
|
remote: git@gitnet.fr:deblan/pages-ci.git
|
||
|
force: false
|
||
|
commit: false
|
||
|
ssh_key: ${SSH_PRIV_KEY}
|
||
|
author_name: CI
|
||
|
author_email: ci@gitnet.fr
|