This commit is contained in:
parent
ae64ce900a
commit
519d3be52f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue