From bf4e9082fb509485b3fa197d5cf0b2afb4cd1d91 Mon Sep 17 00:00:00 2001 From: oDinZu Date: Tue, 29 Nov 2022 16:09:39 -0500 Subject: [PATCH] update drone conditional for git --- .drone.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.drone.yml b/.drone.yml index 4179e9d..9eac9a6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -111,9 +111,12 @@ steps: - git branch www-data - git checkout www-data - cp -R ../_site/* . + - ls . - git add * + - git add -f uploads + - git remote get-url origin - git commit -m "SharpeTronics bots bee ring bots! A drone CD www-data sync" - - git push https://$GITEA_USER:$GITEA_PASS@git.sharpetronics.com/sharpetronics/sharpetronics.com.git + - git push https://$GITEA_USER:$GITEA_PASS@git.sharpetronics.com/sharpetronics/sharpetronics.com.git origin www-data # sync files to remote server [local _site ] to [remote www edge] while preserving permissions. - chmod -R 775 ../_site