Deploy Ghost Theme Github Actions CI / Error: Request body larger than maxBodyLength limit

Will test and report. Thank you so much :innocent:

@vikaspotluri123 using your https://github.com/vikaspotluri123/action-deploy-theme I confirm I was able to make the CI work as expected.

The key file is required me for me as my theme is in a sub-repo.

Note: For this example, the theme here is less than 1MB once zipped.

deploy-theme.yml

name: Deploy Theme CI/CD

on:
  push:
    branches:
      - master
      - edge

jobs:

  job1:
    name: Job 1 of 1
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v1
      - uses: actions/setup-node@v1
        with:
          node-version: '10.15.1'

      # The theme live in the sub-dir /mytheme
      - name: zip theme
        run: |
          zip -r mytheme.zip mytheme

      - name: Deploy in prod
        #uses: TryGhost/action-deploy-theme@v1.2.0
        uses: vikaspotluri123/action-deploy-theme@master
        with:
          api-url: ${{ secrets.GHOST_ADMIN_API_URL }}
          api-key: ${{ secrets.GHOST_ADMIN_API_KEY }}
          file: mytheme.zip

Will you merge into to the main project https://github.com/marketplace/actions/deploy-ghost-theme ?

Created a PR:

1 Like