PlanetScale

Using the PlanetScale CLI with GitHub Actions workflows

Feb 3, 2022Taylor Barnett
Using the PlanetScale CLI with GitHub Actions workflows
SummaryAI, from the source post

This post details how to integrate the PlanetScale CLI with GitHub Actions workflows to automate database schema changes. It provides pre-built workflows for common tasks like creating databases, adding columns/indexes, and merging deploy requests. It also guides users on building custom workflows using shell scripts and the `pscale` CLI, emphasizing the use of service tokens for authentication and helper scripts for managing database branch readiness and authentication.

More from the Database Branching and Blue/Green Deployments trail