Skip to content

Commit d9b60f8

Browse files
authored
Create deploy.yml (#35)
1 parent 320c99f commit d9b60f8

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: Deploy database changes
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
flyway-deploy:
8+
name: Deploy
9+
runs-on: database
10+
environment: Test
11+
steps:
12+
- name: Check out the code
13+
uses: actions/checkout@v3
14+
- name: Run migrate
15+
run: docker-compose run flyway
16+
- name: Print the flyway logs, if needed later
17+
run: docker compose logs flyway
18+
if: always()

0 commit comments

Comments
 (0)