Running Migrations To Google Cloud SQL Database From Github Actions

For a hobby project, I am using Google Cloud as my hosting provider. Recently, I built a way to run migrations from GitHub actions to my Cloud SQL Database using DBmate. However, my database is running within a VPC, which makes it difficult to connect to the database as it is within a private network with a firewall that does not accept traffic from the outside world. Fortunately, I found three potential solutions to this issue....

Oct 16 · 7 min · 1440 words

Using Github Actions with Private Repositories in the Same Organization

I have been struggling with Github Actions for a couple of hours now. My problem is that Github Actions cannot read from private repositories in the same organization. Additionally, I have been unable to install Go packages because Git does not know which username and password to use. This post describes a solution to these issues. For a hobby project, my friend and I have an organization where we store all our code....

Sep 10 · 3 min · 561 words