From d6805c7156e47098015c054ea41be4143ab162ca Mon Sep 17 00:00:00 2001 From: jan Date: Wed, 21 Sep 2022 21:29:06 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20add=20deploy-dir=20as=20absolute?= =?UTF-8?q?=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/build-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-deploy.yml b/.github/workflows/build-deploy.yml index efcac57f1f..519df7156c 100644 --- a/.github/workflows/build-deploy.yml +++ b/.github/workflows/build-deploy.yml @@ -46,5 +46,5 @@ jobs: - name: Deployment if: ${{ success() }} - run: rsync -ruthz --stats --progress -e "ssh -p 22" ./dist/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:/${{ needs.build.outputs.type }} + run: rsync -ruthz --stats --progress -e "ssh -p 22" ./dist/dist/ ${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.DEPLOY_DIR }}/${{ needs.build.outputs.type }}