From 6f12e46b0116d711dff60b904c517d0b21515b23 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..cf6b0b2 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