Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am trying to integrate a github theme for multiple stores. I am using a workflow to deploy changes to all the themes each store is linked to a branh. I am ruinning into the issue that whenever I modify the template on my main branch it overwrites it on all the other branches affecting all other stores.
name: Pushing to all live branches on: push: branches: - main paths-ignore: - 'templates/**' - 'config/**' env: STORES: "test-store" jobs: build: runs-on: ubuntu-latest steps: - name: Checkout code uses: actions/checkout@v3 - name: Push changes to live branches run: | for branch in ${STORES} do git checkout main git pull git checkout -b live/$branch git push -f --set-upstream origin live/$branch done
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025