From e9e8af365abf8e1350f74a7b954e1c77323bda02 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Sun, 12 Nov 2023 23:56:17 +0300 Subject: [PATCH] another fix for deploy --- .drone.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index e8f2cbf..9e2db9a 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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