This commit is contained in:
parent
8d77e9ce0a
commit
68edabf1ad
|
@ -16,6 +16,7 @@ steps:
|
||||||
- git config --global user.name CI
|
- git config --global user.name CI
|
||||||
- git commit -m build -a
|
- git commit -m build -a
|
||||||
- git fetch --no-tags origin +refs/heads/pages
|
- git fetch --no-tags origin +refs/heads/pages
|
||||||
|
- git remote add upstream git@gitnet.fr:murph/murph-doc.git
|
||||||
- git switch pages
|
- git switch pages
|
||||||
- mv site /tmp/
|
- mv site /tmp/
|
||||||
- rm * -fr
|
- rm * -fr
|
||||||
|
@ -26,7 +27,7 @@ steps:
|
||||||
- chmod -R 400 ~/.ssh
|
- chmod -R 400 ~/.ssh
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
- git commit -m "Build ${CI_BUILD_NUMBER}"
|
||||||
- git push origin pages
|
- git push upstream pages
|
||||||
|
|
||||||
# push:
|
# push:
|
||||||
# image: appleboy/drone-git-push
|
# image: appleboy/drone-git-push
|
||||||
|
|
Loading…
Reference in a new issue