tools/sqlx/action.yml
Adrian Wannenmacher 289814b646
All checks were successful
Publish SQLx container / publish (push) Successful in 4m50s
sqlx: make migration location configurable
2023-12-11 17:55:32 +01:00

16 lines
380 B
YAML

name: SQLx
description: Apply SQLx migrations
inputs:
database-url:
description: Where to find the database
required: true
migrations:
description: Where to find the migrations
default: /migrations
runs:
using: docker
image: docker://git.tfld.dev/tfld/tools-sqlx
env:
DATABASE_URL: ${{ inputs.database-url }}
MIGRATIONS: ${{ inputs.migrations }}