add ci
This commit is contained in:
parent
de68d0526e
commit
3e28d686c6
22
.woodpecker.yml
Normal file
22
.woodpecker.yml
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
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
|
Loading…
Reference in a new issue