From 096330e9f415a694e88909297ec84b6d89a6c767 Mon Sep 17 00:00:00 2001 From: Tom Robertshaw Date: Fri, 28 Jan 2022 07:56:31 +0000 Subject: [PATCH] fix(storefront): Specify default API Host when initialising stencil Automatic deployment workflow fails due to missing config files because without a specified API host this step fails silently waiting for interaction. See https://support.bigcommerce.com/s/question/0D74O000007xZEs/detail --- .github/workflow-examples/automatic_deployment_production.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflow-examples/automatic_deployment_production.yml b/.github/workflow-examples/automatic_deployment_production.yml index 5f3c18e73d..14163c3d75 100644 --- a/.github/workflow-examples/automatic_deployment_production.yml +++ b/.github/workflow-examples/automatic_deployment_production.yml @@ -47,7 +47,7 @@ jobs: env: URL: ${{ secrets.STENCIL_STORE_URL_PRODUCTION }} TOKEN: ${{ secrets.STENCIL_ACCESS_TOKEN_PRODUCTION }} - run: stencil init -u $URL -t $TOKEN -p 3000 + run: stencil init -u $URL -t $TOKEN -p 3000 -h https://api.bigcommerce.com - name: Push theme live, automatically deleting oldest theme if necessary run: stencil push -a -d -c 1