From cff3bee4722663938f57ea90e410e298dde012af Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Tue, 27 Feb 2024 19:18:10 -0600 Subject: [PATCH] specify rsync user --- .github/workflows/deploy-to-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-to-prod.yml b/.github/workflows/deploy-to-prod.yml index 001f046..db76ece 100644 --- a/.github/workflows/deploy-to-prod.yml +++ b/.github/workflows/deploy-to-prod.yml @@ -56,5 +56,5 @@ jobs: run: | mkdir -p ~/.ssh ssh-keyscan -H ${{ secrets.GMI_HOST }} >> ~/.ssh/known_hosts - rsync -avz --delete --exclude='*.html' --exclude='*.css' --exclude='*.js' -e ssh public/ ${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }} + rsync -avz --delete --exclude='*.html' --exclude='*.css' --exclude='*.js' -e ssh public/ ${{ secrets.GMI_USER}}@${{ secrets.GMI_HOST }}:${{ secrets.GMI_CONTENT_PATH }}