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 6f12e46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy

on:
push:
branches:
- master
# branches:
# - master

jobs:
build-and-push:
Expand Down 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 Down

0 comments on commit 6f12e46

Please sign in to comment.