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