I have the following github action and everything is working fine. However, I would like to use my TOML config file instead of providing all the details in the action.
- uses: red-gate/FlywayGitHubAction@main
with:
url: "${{ secrets.JDBC }}"
user: "${{ secrets.USER }}"
password: "${{ secrets.PASSWORD }}"
locations: filesystem:./flyway/sql
How to provide the path to TOML config file (which has the location and other configs)? I couldn't find the syntax in the actions page.
Comments
2 comments
-
Hi kbis,
The plugin doesn't expose that functionality presently, as you can see from the cited page, this is just a preview. To get the full suite of functionality, you'll need to use a full flyway image in your pipeline.
You can see a variety of flavours and where to obtain them here
https://documentation.red-gate.com/flyway/flyway-cli-and-api/usage
-
thanks @Peter_Laws for clarifying this, I will then switch to docker mode.
Add comment
Please sign in to leave a comment.