Skip to content

Flyway Postgres Migration

Actions
Run migrations using your Github Action
v0.1.1
Latest
Star (0)

Flyway Postgres Action

This action gets the config file from environment variables and run flyway migrate command.

It runs two scripts:

pre-migration: clean localfiles without migration post-migration: grants access to tables and delete history

Note: Please check the these scripts before using, I will be happy to help you if you have any issue

Inputs

flyway_conf_sha

Required Content of flyway.conf in base64 file. Default "".

Uses cat flyway.conf | base64 to create the flyway_conf_sha

flyway_sql

No Required Path to migrations. Default "./flyway/sql".

pre_migration_bash_sha

No Required Bash file in base64 to run before migration.

post_migration_bash_sha

No Required Bash file in base64 to run after migration.

Example usage

uses: kurkop/flyway-postgres-action@master
with:
  flyway_conf_sha: ${{ secrets.FLYWAY_CONF }}

Flyway Postgres Migration is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Run migrations using your Github Action
v0.1.1
Latest

Flyway Postgres Migration is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.