Skip to content

adding autodeploy with minification fix #10

adding autodeploy with minification fix

adding autodeploy with minification fix #10

Workflow file for this run

name: Theme deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1
bundler: 'latest'
- run: npm install -g @shopify/cli @shopify/theme
- run: npm install
- run: npm run styles & npm run scripts
- env:
SHOPIFY_FLAG_STORE: ${{ secrets.SHOPIFY_STORE }}
SHOPIFY_CLI_THEME_TOKEN: ${{ secrets.SHOPIFY_CLI_THEME_TOKEN }}
SHOPIFY_CLI_TTY: 0
run: shopify theme push --theme ${{ secrets.SHOPIFY_THEME_ID }}