updated version #13
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Shopify Theme deploy | |
on: [push] | |
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" | |
- name: Install Shopify CLI | |
run: npm install -g @shopify/cli @shopify/theme | |
- name: Deploy | |
env: | |
# Store URL, like your-store.myshopify.com | |
SHOPIFY_FLAG_STORE: "${{ secrets.SHOPIFY_FLAG_STORE }}" | |
# Password generated from Theme Access app | |
SHOPIFY_CLI_THEME_TOKEN: ${{ secrets.SHOPIFY_CLI_THEME_TOKEN }} | |
# Theme ID or name of the remote theme | |
SHOPIFY_FLAG_THEME_ID: ${{ secrets.SHOPIFY_FLAG_THEME_ID }} | |
run: shopify theme push -u |