Originally published at: Instant Liquibase Workflows with GitHub Actions | Liquibase.com
When you’re learning or evaluating new software, it’s not always easy or possible to install the software locally on your laptop.
One way to address the problem is to have a remote host that will run the software for you. But even then you still have to go through the installation process. Installation may involve installing other tools that the software depends on to run correctly.
GitHub Actions for Liquibase
This repository contains Liquibase projects and an H2 database with GitHub Actions Workflow demonstrations for the following setups:
- Liquibase Command Line Interface (CLI)
- Liquibase Maven commands with a Springboot app
- Liquibase Gradle commands
- Liquibase running in Docker
Even better, this repository can be forked. Once forked, you can easily get started by running the different workflows for your specific use case.
You can simply run a workflow containing jobs with Liquibase command line (CLI) commands or you can run a more complex workflow containing jobs with Liquibase commands with automation tools like Docker, Maven, or Gradle that are already preconfigured for you!
All the necessary files to run the job are already in the repository. If you need to add/change a changeLog or edit the liquibase.properties file, just modify them in the repository and commit your changes! It’s that easy and you don’t have to install anything locally.
I hope you enjoy using it. I’ll be adding more workflows in the future. You can let me know which other workflows you’d like to see by starting a conversation in the Liquibase community forum or on Discord chat.