Skip to content

Test commit 30

Test commit 30 #32

Workflow file for this run

name: CI/CD Pipeline for Shopify
on:
push:
branches:
- feature/github-actions # Change 'feature/github-actions' to main
jobs:
deploy:
name: Deploy to Shopify Store
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Shopify CLI
run: npm install -g @shopify/cli @shopify/theme
- name: Deploy Theme to Shopify
env:
SHOPIFY_STORE_URL: ${{ secrets.SHOPIFY_STORE_URL }}
SHOPIFY_THEME_ID: ${{ secrets.SHOPIFY_THEME_ID }}
SHOPIFY_CLI_AUTH_TOKEN: ${{ secrets.SHOPIFY_CLI_AUTH_TOKEN }}
run: shopify theme push --force --verbose --allow-live --store=${{ secrets.SHOPIFY_STORE_URL }} --theme=${{ secrets.SHOPIFY_THEME_ID }}