Closed fantazzzmo closed 1 year ago
On mine it warns but doesn't block, and my GHA yaml looks the same as yours. Are you sure that's the reason for your failed run? I recommend checking the logs.
@fantazzzmo can you try to change your configuration checkout to actions/checkout@master
and try to run again?
Like this config:
name: Deploy Theme
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@master
- name: Deploy Ghost Theme
uses: TryGhost/action-deploy-theme@v1
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
Thanks for the help guys.
I think I found what the problem is and it has nothing to do with node.js 12 (not sure why the error message says so).
The process breaks at Theme Validation - because new theme files are using features available in Ghost 5.0 and we are still using Ghost 4.x. And we cannot update to Ghost 5.0 because the current theme version does not support Ghost 5.0. Sort of an infinite loop. It looks like we'll wait for Ghost to update to 5.0 automatically on January 31 and then update the theme. Fingers crossed all goes smoothly.
Hi,
I try deploying my ghost theme and keep getting the message as shown on the screenshot:
Although it show as a warning, it stops the deployment.
deploy-theme.yml is as follows:
Please advise what to do?