I get this result when I try to deploy a Ghots forked theme on Github Actions:
adding: custom-authors.hbs (deflated 58%)
adding: archive.hbs (deflated 66%)
{
"message": "Request failed with status code 413",
"name": "AxiosError",
"code": "ERR_BAD_REQUEST",
"status": null
}
This is my code, copied from Ghost Github:
name: Deploy Theme
on:
push:
branches:
- master
- main
jobs:
deploy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Deploy Ghost Theme
uses: TryGhost/action-deploy-theme@v1.6.1
with:
api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
What can be the cause of this issue?