From e8a666969be45e6302fe56fbec7d8a3a845dd6b8 Mon Sep 17 00:00:00 2001 From: Adibov Date: Thu, 23 Nov 2023 22:52:11 +0330 Subject: [PATCH] ci: copy deployment directory to the VM on deploy --- .github/workflows/deploy.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yaml b/.github/workflows/deploy.yaml index bd20f4a..160ac85 100644 --- a/.github/workflows/deploy.yaml +++ b/.github/workflows/deploy.yaml @@ -2,8 +2,8 @@ name: Deploy on: push: - branches: - - master +# branches: +# - master jobs: build-and-push: @@ -43,7 +43,7 @@ jobs: username: ${{ vars.VM_USERNAME }} key: ${{ secrets.SSH_PRIVATE_KEY }} overwrite: true - source: docker-compose.yml + source: "docker-compose.yml,deployment target: /home/${{ vars.VM_USERNAME }}/AAISS-2023 - name: Deploy to the VM