From 58a7de0d231cbd357110d5eee8e8e34b3782b0e0 Mon Sep 17 00:00:00 2001 From: phapsidesGT Date: Tue, 3 Sep 2024 18:00:29 +0100 Subject: [PATCH] Test commit 21 --- push-theme.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/push-theme.sh b/push-theme.sh index 31d9ec9a51f..00647d5f4f9 100755 --- a/push-theme.sh +++ b/push-theme.sh @@ -30,7 +30,7 @@ jobs: - name: Deploy to Shopify env: - SHOPIFY_PASSWORD: ${{ secrets.SHOPIFY_PASSWORD }} + SHOPIFY_CLI_AUTH_TOKEN: ${{ secrets.SHOPIFY_CLI_AUTH_TOKEN }} SHOPIFY_STORE: ${{ secrets.SHOPIFY_STORE }} THEME_ID: ${{ secrets.THEME_ID }} run: | @@ -47,7 +47,7 @@ jobs: while [ $attempt -lt $max_attempts ]; do echo "Pushing theme (Attempt: $((attempt + 1))/$max_attempts)..." - if shopify theme push --password="$SHOPIFY_PASSWORD" --store="$SHOPIFY_STORE" --theme-id="$THEME_ID" --allow-live; then + if shopify theme push --store="$SHOPIFY_STORE" --theme-id="$THEME_ID" --allow-live; then echo "Theme pushed successfully." break else