add ci to deploy on gitnet.page
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed

This commit is contained in:
Simon Vieille 2024-01-23 13:28:19 +01:00
parent ae64ce900a
commit 519d3be52f
Signed by: deblan
GPG key ID: 579388D585F70417

View file

@ -20,19 +20,21 @@ steps:
- mv site /tmp/
- rm * -fr
- mv /tmp/site/* .
- echo "$SSH_KEY" | tr -d '\r' | ssh-add -
- git add .
- git commit -m "Build ${CI_BUILD_NUMBER}"
- git push origin pages
push:
image: appleboy/drone-git-push
commands:
settings:
branch: pages
remote: git@gitnet.fr:murph/murph-doc.git
force: false
commit: false
ssh_key:
from_secret: ssh_key
# push:
# image: appleboy/drone-git-push
# commands:
# settings:
# branch: pages
# remote: git@gitnet.fr:murph/murph-doc.git
# force: false
# commit: false
# ssh_key:
# from_secret: ssh_key
#deploy:
# image: eeacms/rsync