How to use TOML Configuration File
kbis
Posts: 4 Bronze 1
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.
Best Answer
-
Peter_Laws Posts: 258 Silver 2Hi 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
Answers