# GitHub-ghost integration: where does .github go?

**URL:** <https://forum.ghost.org/t/github-ghost-integration-where-does-github-go/13616>\
**Category:** Integrations & API\
**Created:** [April 17, 2020, 7:36pm UTC](https://forum.ghost.org/t/github-ghost-integration-where-does-github-go/13616 "2020-04-17T19:36:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjmscott](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/sjmscott/32/7336_2.png) [@sjmscott](https://forum.ghost.org/u/sjmscott)\
**Post date:** [April 17, 2020, 7:36pm UTC](https://forum.ghost.org/t/github-ghost-integration-where-does-github-go/13616/1 "2020-04-17T19:36:34Z")

</div>

I’m working on [this](https://ghost.org/integrations/github/) GitHub integration to deploy my theme.

I’m confused on the last step that reads:  
Copy and paste the following code into a new file in your repository under `.github/workflows/main.yml`

is .github a file? a directory? Can someone help break this down? It looks like a very helpful integration.

> **[Official Ghost + GitHub Integration](https://ghost.org/integrations/github/)**
>
> Set up simple continuous integration of your Ghost theme to deploy directly to your Ghost website with GitHub Actions. Share code snippets with GitHub Gists 👨‍💻

> **[Deploy Ghost Theme - GitHub Marketplace](https://github.com/marketplace/actions/deploy-ghost-theme)**
>
> Build & deploy a theme to your Ghost site

Related posts:

> [@Deploy Ghost Theme via Github actions](https://forum.ghost.org/t/deploy-ghost-theme-via-github-actions/10868):
>
> [This automation](https://github.com/marketplace/actions/deploy-ghost-theme) is very promising slight_smile Question: can I define which branch the CI should pull the code from? In my case I would have two branches: “master” would be where I develop the theme “dist” is the output of gulp build ready to be uploaded on my ghost site Thank you!

---

<div class="post-metadata">

**Author:** ![vikaspotluri123](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/vikaspotluri123/32/24_2.png) [@vikaspotluri123](https://forum.ghost.org/u/vikaspotluri123)\
**Post date:** [April 17, 2020, 7:43pm UTC](https://forum.ghost.org/t/github-ghost-integration-where-does-github-go/13616/2 "2020-04-17T19:43:55Z")

</div>

`.github` is a directory 🙂

So you’re going to have a tree like this:

```auto
{Theme}
├───.github
│ └───workflows
│ └───main.yml

```
