Skip to content

Commit

Permalink
ci: copy deployment directory to the VM on deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Adibov committed Nov 23, 2023
1 parent b56ac91 commit f63a79a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -54,4 +54,4 @@ jobs:
key: ${{ secrets.SSH_PRIVATE_KEY }}
# TODO: handle envs
script: |
docker compose -f AAISS-2023/docker-compose.yml up -d --pull always
docker compose -f AAISS-2023/docker-compose.yml up -d --pull always --force-recreate

0 comments on commit f63a79a

Please sign in to comment.