tools/sqlx/action.yml

16 lines
380 B
YAML
Raw Normal View History

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
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 }}
MIGRATIONS: ${{ inputs.migrations }}