# Deploying Bedrock theme from a GitHub Action

**URL:** https://discourse.roots.io/t/deploying-bedrock-theme-from-a-github-action/28999
**Category:** bedrock
**Tags:** bedrock, devops
**Created:** 2024-12-10T20:59:25Z
**Posts:** 3

## Post 1 by @Sandstone2469 — 2024-12-10T20:59:25Z

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!

---

## Post 2 by @dunek — 2024-12-26T06:20:00Z

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.

> **[GitHub - pkosciak/wordpress-bedrock-deploy-github-actions](https://github.com/pkosciak/wordpress-bedrock-deploy-github-actions)**
>
> Contribute to pkosciak/wordpress-bedrock-deploy-github-actions development by creating an account on GitHub.

---

## Post 3 by @Sandstone2469 — 2025-01-06T19:50:05Z

@dunek Thank you for replying. It looks like I am currently doing something similar (but according to my restrictions.)

I appreciate the sanity check!
