All Projects → pgrimaud → Action Shopify

pgrimaud / Action Shopify

Licence: mit
Deploy Shopify theme with Theme Kit on GitHub Actions

Projects that are alternatives of or similar to Action Shopify

Vue Storefront
The open-source frontend for any eCommerce. Built with a PWA and headless approach, using a modern JS stack. We have custom integrations with Magento, commercetools, Shopware and Shopify and total coverage is just a matter of time. The API approach also allows you to merge VSF with any third-party tool like CMS, payment gateways or analytics. Ne…
Stars: ✭ 9,111 (+13498.51%)
Mutual labels:  hacktoberfest, shopify
Mobileautomationframework
Single code base framework to test android and iOS app using appium (v6.1.0), maven, testng,java. Option to start appium server programmatically.
Stars: ✭ 66 (-1.49%)
Mutual labels:  hacktoberfest
Kmon
Linux Kernel Manager and Activity Monitor 🐧💻
Stars: ✭ 1,142 (+1604.48%)
Mutual labels:  hacktoberfest
Falcon
The no-nonsense REST API and microservices framework for Python developers, with a focus on reliability, correctness, and performance at scale.
Stars: ✭ 8,654 (+12816.42%)
Mutual labels:  hacktoberfest
Webmonkeys
Massively parallel GPU programming on JavaScript, simple and clean.
Stars: ✭ 1,147 (+1611.94%)
Mutual labels:  hacktoberfest
Zaproxy
The OWASP ZAP core project
Stars: ✭ 9,078 (+13449.25%)
Mutual labels:  hacktoberfest
Helloworld
HacktoberFest Hello World in every language ever. Just fork it and get started.
Stars: ✭ 66 (-1.49%)
Mutual labels:  hacktoberfest
Hacktoberfest2020 Expert
Hacktoberfest 2020. Don't forget to spread love and if you like give me a ⭐️
Stars: ✭ 67 (+0%)
Mutual labels:  hacktoberfest
Tether
A positioning engine to make overlays, tooltips and dropdowns better
Stars: ✭ 8,444 (+12502.99%)
Mutual labels:  hacktoberfest
Polybar
A fast and easy-to-use status bar
Stars: ✭ 9,604 (+14234.33%)
Mutual labels:  hacktoberfest
Ts Node
TypeScript execution and REPL for node.js
Stars: ✭ 9,571 (+14185.07%)
Mutual labels:  hacktoberfest
Enhanced Github
🚀 Browser extension to display size of each file, download link and copy file contents directly to the clipboard
Stars: ✭ 1,146 (+1610.45%)
Mutual labels:  hacktoberfest
Vee Validate
✅ Form Validation for Vue.js
Stars: ✭ 8,820 (+13064.18%)
Mutual labels:  hacktoberfest
Nvim Treesitter
Nvim Treesitter configurations and abstraction layer
Stars: ✭ 1,129 (+1585.07%)
Mutual labels:  hacktoberfest
Slash
The Slash testing infrastructure
Stars: ✭ 66 (-1.49%)
Mutual labels:  hacktoberfest
Toonin
Technology that allows you to tune in to your friends and family in realtime using peer-to-peer sharing.
Stars: ✭ 67 (+0%)
Mutual labels:  hacktoberfest
Typeresolver
A PSR-5 based resolver of Class names, Types and Structural Element Names
Stars: ✭ 8,712 (+12902.99%)
Mutual labels:  hacktoberfest
Mose
Post exploitation tool for configuration management servers.
Stars: ✭ 67 (+0%)
Mutual labels:  hacktoberfest
Rsyslog
Development repository for the rsyslog cookbook
Stars: ✭ 66 (-1.49%)
Mutual labels:  hacktoberfest
Cakephp
CakePHP: The Rapid Development Framework for PHP - Official Repository
Stars: ✭ 8,453 (+12516.42%)
Mutual labels:  hacktoberfest

Deploy Shopify theme for GitHub Actions

This GitHub action is part of a list of my Actions : https://github.com/pgrimaud/actions.

A GitHub Actions+Shopify workflow was proposed here : https://github.com/freyum/shopify-workflow-poc

Usage

To use the action simply add the following lines to your workflow .yml file.

...
  steps:
      - uses: actions/[email protected]
      - name: Shopify
        uses: pgrimaud/[email protected]
        env:
          SHOPIFY_PASSWORD: ${{ secrets.SHOPIFY_PASSWORD }}
          SHOPIFY_STORE_URL: ${{ secrets.SHOPIFY_STORE_URL }}
          SHOPIFY_THEME_ID: ${{ secrets.SHOPIFY_THEME_ID }}
          THEME_PATH: ${{ secrets.THEME_PATH }}

You can see a repository with this action here : https://github.com/pgrimaud/shopify-debut

Required Secrets

First you have to generate a private app to get an API KEY on Shopify. Get API Access.

Then you'll need to provide some secrets to use the action.

  • SHOPIFY_PASSWORD: Your password from your private app previously created.
  • SHOPIFY_STORE_URL: Your store url. (e.g. demo.myshopify.com).
  • SHOPIFY_THEME_ID: Your theme id on your Shopify Store.
  • THEME_PATH: Path of your theme on your GitHub repository. If your theme is at the root of your repository, just use ./.

Optional Arguments

The optional argument you can add to improve theme deployment. Optional args are available on Theme Kit help.

Examples

...
  steps:
      - uses: actions/[email protected]
      - name: Shopify
        uses: pgrimaud/[email protected]
        env:
          SHOPIFY_PASSWORD: ${{ secrets.SHOPIFY_PASSWORD }}
          SHOPIFY_STORE_URL: ${{ secrets.SHOPIFY_STORE_URL }}
          SHOPIFY_THEME_ID: ${{ secrets.SHOPIFY_THEME_ID }}
          THEME_PATH: ${{ secrets.THEME_PATH }}
        with:
          args: --ignored-file=sections/*

Your can also combine multiple arguments :

...
  steps:
      - uses: actions/[email protected]
      - name: Shopify
        uses: pgrimaud/[email protected]
        env:
          SHOPIFY_PASSWORD: ${{ secrets.SHOPIFY_PASSWORD }}
          SHOPIFY_STORE_URL: ${{ secrets.SHOPIFY_STORE_URL }}
          SHOPIFY_THEME_ID: ${{ secrets.SHOPIFY_THEME_ID }}
          THEME_PATH: ${{ secrets.THEME_PATH }}
        with:
          args: --ignored-file=sections/* --timeout=30

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].