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
|
||||
- chmod -R 600 $HOME/.ssh
|
||||
- cd .pub
|
||||
- git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0toxine.pages.neur0tx.site.git
|
||||
- cd neur0tx.site
|
||||
- git clone --filter=tree:0 git@git.neur0tx.site:Neur0toxine/neur0toxine.pages.neur0tx.site.git site
|
||||
- cd site
|
||||
- git checkout gitea-pages || git checkout -b gitea-pages
|
||||
- cd ..
|
||||
- mv neur0tx.site/.git .
|
||||
- rm -rf neur0tx.site
|
||||
- mv site/.git .
|
||||
- rm -rf site
|
||||
- git add .
|
||||
- git commit -a -m "`date +'%Y-%m-%d %R:%S'` > deploy"
|
||||
- git push -u origin gitea-pages
|
||||
|
Loading…
Reference in New Issue
Block a user