Getting 502 in my Github Action

I’ve just setup a github action to push to my stores, and its using this setup:

- name: Push to PRIMARY Store - Staging Theme
  run: |
    shopify theme push \
      --theme=${{ env.THEME_ID_PRIMARY_STAGING }} \
      --store=${{ env.STORE_PRIMARY }} \
      --password ${{ env.CLI_THEME_TOKEN_PRIMARY }}

But ended up getting a 502 error, having checked the Github branch it does seem some files have been pushed, so I’m not sure what’s caused this, especially due to the empty errors object. Any ideas?