pages-ci/.woodpecker.yml

24 lines
509 B
YAML
Raw Normal View History

2022-07-25 13:39:52 +02:00
pipeline:
build:
image: klakegg/hugo
update:
image: alpine/git
commands:
2022-07-25 13:52:00 +02:00
- git branch --set-upstream-to=origin/master master
2022-07-25 13:47:42 +02:00
- git checkout pages
2022-07-25 13:42:44 +02:00
- git add public/*
- git commit -m build
2022-07-25 13:39:52 +02:00
deploy:
image: appleboy/drone-git-push
secrets: [ssh_priv_key]
2022-07-25 13:41:53 +02:00
settings:
2022-07-25 13:39:52 +02:00
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