Hi Folks,
I have a checkout extensibility app running on a Shopify Plus store and we wish to automate deployments via a github action. We have the following github action set up but it produces an error (see sceenshot below).
Anyone have some hints on what I’m missing to get this working?
name: Deploy app
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'yarn'
- name: Install npm dependencies
run: yarn install
- name: Deploy
env:
# Token from the Partner Dashboard
SHOPIFY_CLI_PARTNERS_TOKEN: ${{ secrets.SHOPIFY_CLI_PARTNERS_TOKEN }}
COMMIT_URL: ${{ github.server_url }}/${{ github.repository }}/commit/${{ github.sha }}
# .env content after a deploy
SHOPIFY_API_KEY: XXXXX
SHOPIFY_CUSTOM_FIELD_ID: XXXX
run: yarn deploy -f --client-id XXXX
