another fix for deploy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
a9ab6667c2
commit
e9e8af365a
@ -20,12 +20,12 @@ steps:
|
|||||||
- ssh-keyscan -H git.neur0tx.site > $HOME/.ssh/known_hosts 2> /dev/null
|
- ssh-keyscan -H git.neur0tx.site > $HOME/.ssh/known_hosts 2> /dev/null
|
||||||
- chmod -R 600 $HOME/.ssh
|
- chmod -R 600 $HOME/.ssh
|
||||||
- cd .pub
|
- cd .pub
|
||||||
- git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0toxine.pages.neur0tx.site.git
|
- git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0toxine.pages.neur0tx.site.git site
|
||||||
- cd neur0tx.site
|
- cd site
|
||||||
- git checkout gitea-pages || git checkout -b gitea-pages
|
- git checkout gitea-pages || git checkout -b gitea-pages
|
||||||
- cd ..
|
- cd ..
|
||||||
- mv neur0tx.site/.git .
|
- mv site/.git .
|
||||||
- rm -rf neur0tx.site
|
- rm -rf site
|
||||||
- git add .
|
- git add .
|
||||||
- git commit -a -m "`date +'%Y-%m-%d %R:%S'` > deploy"
|
- git commit -a -m "`date +'%Y-%m-%d %R:%S'` > deploy"
|
||||||
- git push -u origin gitea-pages
|
- git push -u origin gitea-pages
|
||||||
|
Loading…
Reference in New Issue
Block a user