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