From 5ac90242036db6b97160946cb5cb810a2695baf8 Mon Sep 17 00:00:00 2001 From: Adora Laura Kalb Date: Tue, 23 Apr 2024 22:24:18 +0200 Subject: [PATCH] update CI :( --- .woodpecker/deploy.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.woodpecker/deploy.yml b/.woodpecker/deploy.yml index 9fd2a81..0c5088f 100644 --- a/.woodpecker/deploy.yml +++ b/.woodpecker/deploy.yml @@ -17,8 +17,7 @@ steps: - RSYNC_SSHKEY - RSYNC_TARGET_SERVER - RSYNC_TARGET_USER - environment: - - TARGET_PATH=/webroot/adora.codes + - RSYNC_TARGET_PATH when: - event: push branch: main @@ -28,7 +27,7 @@ steps: - echo "$RSYNC_SSHKEY" > $HOME/.ssh/id_ed25519 - chmod 0600 $HOME/.ssh/id_ed25519 - ssh-keyscan -t ed25519 $RSYNC_TARGET_SERVER >> $HOME/.ssh/known_hosts - - rsync -avh --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$TARGET_PATH + - rsync -avh --delete ./public/ $RSYNC_TARGET_USER@$RSYNC_TARGET_SERVER:$RSYNC_TARGET_PATH