2023-12-06 16:13:26 +01:00
|
|
|
name: SQLx
|
|
|
|
description: Apply SQLx migrations
|
|
|
|
inputs:
|
|
|
|
database-url:
|
|
|
|
description: Where to find the database
|
|
|
|
required: true
|
2023-12-11 17:55:32 +01:00
|
|
|
migrations:
|
|
|
|
description: Where to find the migrations
|
|
|
|
default: /migrations
|
2023-12-06 16:13:26 +01:00
|
|
|
runs:
|
|
|
|
using: docker
|
|
|
|
image: docker://git.tfld.dev/tfld/tools-sqlx
|
|
|
|
env:
|
|
|
|
DATABASE_URL: ${{ inputs.database-url }}
|
2023-12-11 17:55:32 +01:00
|
|
|
MIGRATIONS: ${{ inputs.migrations }}
|