Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 1.4 KB

README.md

File metadata and controls

44 lines (34 loc) · 1.4 KB

shopify-theme-preview-example

This Project is an example for the usage of the Shopify Theme Preview Action.

To see this action in action, simply click on the open Pull Request and see for yourself!

preview.yml

run-name: Create Theme Preview by @${{ github.actor }}
on:
  issue_comment:      
    types: [created]    
jobs:                   
  deploy:
    name: Preview
    runs-on: ubuntu-latest
    if: contains(github.event.comment.body, '!preview')
    steps:
      - uses: Brand-Boosting-GmbH/shopify-theme-preview@v1
        with:
          shopify_flag_store: 'your-store.myshopify.com'
          shopify_cli_theme_token: 'shopify_cli_theme_token'
          build_step: 'npm i && npm run build'              // optional
          dir: 'dist'                                       // optional

For more detailed information follow these links:

GitHub Action

GitHub Marketplace

brand-boosting.de


wort-bild-primary@2x
Brand Boosting GmbH | David Süßlin