Skip to content

Commit

Permalink
Test commit 21
Browse files Browse the repository at this point in the history
  • Loading branch information
phapsidesGT committed Sep 3, 2024
1 parent 649d536 commit 58a7de0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions push-theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand All @@ -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
Expand Down

0 comments on commit 58a7de0

Please sign in to comment.