Skip to content

Update V0005__Create_new_table.sql #10

Update V0005__Create_new_table.sql

Update V0005__Create_new_table.sql #10

Workflow file for this run

name: postgresql-flyway-migrations
on:
- push
jobs:
test-to-db:
runs-on: ubuntu-latest
services:
postgres:
image: postgres
env:
POSTGRES_DB: db
POSTGRES_USER: user
POSTGRES_PASSWORD: password
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- uses: actions/checkout@v2
- uses: joshuaavalon/[email protected]
with:
url: jdbc:postgresql://postgres:5432/db
user: user
password: password
locations: filesystem:./sql
- run: echo 'testing'
deploy-to-prod:
needs: test-to-db
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: joshuaavalon/[email protected]
with:
url: ${{ secrets.DB_URI }}
user: ${{ secrets.DB_U }}
password: ${{ secrets.KUNLE_BABA }}
locations: filesystem:./sql
- run: echo 'deploying to prod'