GitHub Action & custom theme


I would like to manage my Ghost theme with github. I am using the Polar theme from the Ghost marketplace. I have unziped the folder and put it in a private github repo. I then followed the Ghost+GitHub integration.

When the GitHub action runs, it fails. I am new to Ghost, so I am sure there is something in which I am not fundamentally understanding as it related to this GitHub action script. Any advice would be greatly appreciated. I have provided my output of the error below.

Deploy theme error from GitHub action

    name: Deploy Theme
          - master
        runs-on: ubuntu-18.04
          - uses: actions/checkout@master
          - uses: TryGhost/action-deploy-theme@v1.2.1
              api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
              api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
              theme-name: "polar-shean"

It looks like the theme’s not validating when uploading to ghost. I would suggest you try uploading the theme to ghost via the admin panel. If you get an error, you need to get in touch with the theme author since it’s not compatible with your version of Ghost

That helped quite a bit oddly enough, this was failing due to a misconfiguration I had trying to comment out a line of code in a hbs file. It’s working now! Thank you.