Deploying Bedrock theme from a GitHub Action

Hello, all! :wave:

I am a relatively new Bedrock user and I have some questions regarding how I can get Bedrock to work with my setup. Because I am unable to use Trellis, I am relying on GitHub Actions to build the assets and get the theme files over to the remote Debian server. And since some of the sites are behind a VPN, I am unable to ssh files over from GitHub.

So my questions are: Does anyone use Bedrock that’s in a similar situation? Or does anyone have any suggestions for how I could build the theme assets in the GitHub action and be able to pull those (along with the other required Bedrock theme assets) from the remote server?

Currently, I think I need to have two separate repos—one that triggers the action when a push to main occurs; and the other that hosts the Bedrock files along with the built assets, which then gets pulled to the remote server.

But if there is a cleaner way to do this I am all ears!

Some time ago, I was experimenting with deploying Bedrock via GitHub. Please take a look at this repo. Although it’s not meant for production use, it might help you figure out what’s wrong with your setup.