From 2dc814478052975202090139e683ef2802fd79f7 Mon Sep 17 00:00:00 2001 From: Lanta Date: Tue, 21 Nov 2023 09:52:25 +0100 Subject: [PATCH] ssh options in rsync --- .github/workflows/main.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 460723a..4ecad3a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,8 +29,7 @@ jobs: remote-user: stats private-ssh-key: ${{ secrets.SSH_KEY }} destination-path: ${{ env.DESTINATION }} - rsync-options: --no-times -r --exclude=.git* --exclude=*.json --exclude=.git/ --exclude=.github/ --exclude=config.php - ssh-options: -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR + rsync-options: --no-times -r --exclude=.git* --exclude=*.json --exclude=.git/ --exclude=.github/ --exclude=config.php 'ssh -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR' - name: LINK TO WEBSITE run: | if [[ "${{ github.ref }}" == "refs/heads/main" ]]; then