• Concept
  • Version · 6.0
  • Create

Secure setup using GitHub Actions secrets

Last updated: September 29, 2026

1. Create an environment for each target

The Environments page in GitHub repository settings, with one environment created for each deployment target: PROD, QA, and DEV.

2. Add the connection secrets to each environment

The New secret form in GitHub Actions, with the name set to LIQUIBASE_COMMAND_URL and the value set to a JDBC connection string.
The Actions secrets and variables page listing environment secrets. Each of LIQUIBASE_COMMAND_URL, LIQUIBASE_COMMAND_USERNAME, and LIQUIBASE_COMMAND_PASSWORD is stored separately for the DEV, QA, and PROD environments.

3. Select the environment in the workflow

loading

Why this is worth more than secret storage

Where to go next