Deploy Ghost Theme via Github actions

This automation 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!

I’m pretty sure you could customize it for whichever branch you want it to run on. The yml file lists the branch, action, etc.

on:
  push:
    branches:
      - master
jobs:
  deploy:
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@master
1 Like

That seems to work :slight_smile: Will test :slight_smile: