Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
daronenko committed Dec 17, 2024
1 parent 7c7d3bd commit a1bc223
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/cd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,17 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Copy migration files to server
uses: appleboy/scp[email protected]

- name: Sync migration files to server
uses: appleboy/ssh[email protected]
with:
host: 185.241.194.24
username: ubuntu
key: ${{ secrets.PRIVATE_KEY }}
source: "internal/db/postgres/migrations/*"
target: "/home/ubuntu/nova-music/backend/internal/db/postgres/migrations/"
script: |
rsync -av --delete \
./internal/db/postgres/migrations/ \
[email protected]:/home/ubuntu/nova-music/backend/internal/db/postgres/migrations/
- name: Run database migrations
uses: appleboy/[email protected]
Expand Down

0 comments on commit a1bc223

Please sign in to comment.