From 0c60c36c0ce0cccf0e8ef58838c9ffedcf8cda0d Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 7 Nov 2024 23:11:29 +0100 Subject: [PATCH] fix gitea pipeline yaml 3 --- .gitea/workflows/main.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index ef73d2b..e45a55a 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -16,5 +16,6 @@ jobs: - name: rclone to remote run: | ls -lha - echo ${{ secrets.ID_ED25519 }} > ./id_ed25519 + printf "%s" "${{ secrets.ID_ED25519 }}" > ./id_ed25519 + chmod 600 ./id_ed25519 # Set proper permissions rsync -avz --delete --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ./id_ed25519" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs