ValidationError in GitHub Action Depoly

Version: Ghost Managed Hosting

Total beginner here and looking for some help in setting up GitHub Actions to deploy a custom theme. I have the following set up:


name: Deploy Theme
      - master
      - main
    runs-on: ubuntu-22.04
      - uses: actions/checkout@v3
      - name: Deploy Ghost Theme 1.0
        uses: TryGhost/action-deploy-theme@v1.6.3
          api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
          api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
          exclude: .DS_Store 

Currently I am getting the following error in the GitHub Actions report:

Run TryGhost/action-deploy-theme@v1.6.3
    api-url: ***
    api-key: ***
    exclude: .DS_Store
/usr/bin/zip -r . -x *.git* *.zip yarn* npm* node_modules* *routes.yaml *redirects.yaml *redirects.json .DS_Store
  adding: LICENSE (deflated 41%)
  adding: assets/ (stored 0%)
  adding: assets/built/ (stored 0%)
  adding: assets/built/casper.js (deflated 67%)
  adding: assets/built/global.css (deflated 61%)
  adding: assets/built/screen.css (deflated 79%)
  adding: assets/built/ (deflated 61%)
  adding: assets/built/home.css (deflated 49%)
  adding: assets/built/ (deflated 80%)
  adding: assets/built/ (deflated 69%)
  adding: assets/built/ (deflated 70%)
  adding: assets/screenshot-desktop.jpg (deflated 28%)
  adding: assets/css/ (stored 0%)
  adding: assets/css/global.css (deflated 69%)
  adding: assets/css/screen.css (deflated 82%)
  adding: assets/css/home.css (deflated 63%)
  adding: assets/js/ (stored 0%)
  adding: assets/js/dropdown.js (deflated 70%)
  adding: assets/js/infinite-scroll.js (deflated 66%)
  adding: assets/js/lib/ (stored 0%)
  adding: assets/js/lib/imagesloaded.pkgd.min.js (deflated 68%)
  adding: assets/js/lib/jquery.fitvids.js (deflated 60%)
  adding: assets/screenshot-mobile.jpg (deflated 12%)
  adding: gulpfile.js (deflated 67%)
  adding: home.hbs (deflated 61%)
  adding: index.hbs (deflated 64%)
  adding: (deflated 50%)
  adding: error.hbs (deflated 65%)
  adding: package.json (deflated 74%)
  adding: partials/ (stored 0%)
  adding: partials/post-card.hbs (deflated 70%)
  adding: partials/icons/ (stored 0%)
  adding: partials/icons/avatar.hbs (deflated 30%)
  adding: partials/icons/fire.hbs (deflated 42%)
  adding: partials/icons/lock.hbs (deflated 58%)
  adding: partials/icons/search.hbs (deflated 31%)
  adding: partials/icons/rss.hbs (deflated 31%)
  adding: partials/icons/facebook.hbs (deflated 44%)
  adding: partials/icons/twitter.hbs (deflated 42%)
  adding: partials/icons/loader.hbs (deflated 47%)
  adding: error-404.hbs (deflated 51%)
  adding: author.hbs (deflated 72%)
  adding: default.hbs (deflated 66%)
  adding: tag.hbs (deflated 65%)
  adding: page.hbs (deflated 62%)
  adding: post.hbs (deflated 68%)
  "name": "ValidationError",
  "context": null,
  "type": "ValidationError",
  "details": null,
  "property": null,
  "help": null,
  "code": null,
  "id": "672e1ab0-c1cb-11ed-a350-598ee226421a",
  "ghostErrorCode": null

Ghost Admin API Key and URL are set up in GitHub Secrets. I have also uploaded the theme to GScan and get no validation errors. Any guidance is appreciated!

Is this a fork of Casper? I think you could have issues trying to upload Try renaming your theme in package.json to something else.

It is a fork of Casper! Renamed the theme and it works perfectly. Appreciate the help Ryan!

Awesome. It’s an edge case I didn’t know about, so thanks for posting!