Simon Vieille
e37a6280eb
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
28 lines
696 B
YAML
28 lines
696 B
YAML
pipeline:
|
|
build:
|
|
image: klakegg/hugo
|
|
|
|
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
|
|
- git add public/*
|
|
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
|
|
|
deploy:
|
|
image: appleboy/drone-git-push
|
|
secrets: [ssh_priv_key]
|
|
commands:
|
|
- echo AAAAAAAAAAAAAAAAAAAAAAAAAA
|
|
- echo ${SSH_PRIV_KEY}
|
|
- echo BBBBBBBBBBBBBBBBBBBBBBBBBB
|
|
# settings:
|
|
# branch: pages
|
|
# remote: git@gitnet.fr:deblan/pages-ci.git
|
|
# force: false
|
|
# commit: false
|
|
# ssh_key: ${SSH_PRIV_KEY}
|