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