• Stars
    star
    120
  • Rank 295,072 (Top 6 %)
  • Language
    Dockerfile
  • License
    MIT License
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Deploy Shopify theme with Theme Kit on GitHub Actions

Deploy Shopify theme for GitHub Actions

NEW since 2.2 : this action is now based on a pre-built image

Using a pre-built image saved 115% of time on this action set-up

⚠️ Docker image is located here : https://github.com/pgrimaud/docker-images/tree/master/themekit

Description

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/checkout@v2
      - name: Shopify
        uses: pgrimaud/action-shopify@master
        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/checkout@v2
      - name: Shopify
        uses: pgrimaud/action-shopify@master
        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/checkout@v2
      - name: Shopify
        uses: pgrimaud/action-shopify@master
        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.

More Repositories

1

instagram-user-feed

This is a scrapper to easily fetch any feed and interact with Instagram (like, follow, etc.) without OAuth for PHP.
PHP
747
star
2

horaires-ratp-api

Webservice pour les horaires et trafic RATP en temps réel
HTML
269
star
3

pgrimaud

I need you to participate to a cool experiment: redraw a masterpiece with mosaic pictures
Python
128
star
4

ratp-api-rest

This project turnkey is distributed as a middleware to expose RATP realtime data as REST resources
PHP
84
star
5

git-stars

Discover your ranking on GitHub
PHP
37
star
6

lametric-cryptocurrencies

The ultimate cryptocurrencies app for LaMetric : More than 5000 currencies available!
PHP
36
star
7

declaration-actifs-numeriques

Liste des plateformes pour la déclaration d'actifs numériques sur impots.gouv.fr via le formulaire n°3916-bis (french only)
36
star
8

shopify-snippets

Useful .liquid snippets for Shopify themes
Liquid
22
star
9

horaires-ratp-sdk

RATP SDK - Retrieve schedules for any given RER (train), Metro, or Tramway stop in real time
PHP
20
star
10

amazon-mws-xsd

Amazon Marketplace Web Service (MWS) XSD
14
star
11

lametric-bitcoin-realtime

This application updates every 5 seconds the Bitcoin price from Bitstamp or Bitfinex, bitcoin exchanges.
PHP
12
star
12

lametric-weekend

"Is it weekend yet?" for LaMetric
PHP
11
star
13

iim-php-api

Code base for students
PHP
9
star
14

cegid-y2-sdk

CEGID / Y2 - SDK
PHP
9
star
15

sytadin

Real time information about road traffic on the Paris beltway
PHP
7
star
16

symfony-a2dw-iim-2018

PHP
7
star
17

lametric-ratp

RATP Schedules for LaMetric
PHP
7
star
18

weibo-user-timeline

Easily fetch any user's weibo timeline without oAuth
PHP
6
star
19

react-hello-world

Code base for school project
JavaScript
6
star
20

lametric-app-starter

Starter for creating LaMetric apps easily
PHP
5
star
21

lametric-packagist

Packagist statistics for LaMetric
PHP
5
star
22

action-lametric

Send notification to your LaMetric using Github Actions
Shell
5
star
23

lametric-slack

Push messages on Slack with your LaMetric
PHP
5
star
24

ingress-mission-tools

Usefull tool to monitoring the Ingress mission dashboard
JavaScript
4
star
25

lametric-sytadin

Road traffic in Paris for LaMetric
PHP
4
star
26

priceminister-sdk

Priceminister SDK - French Marketplace
PHP
3
star
27

phpbench

Some personal PHP benchmarks - Very nice! WoW!
PHP
3
star
28

actions

Personal GitHub Actions
3
star
29

docker-images

My personal Docker public images
Makefile
3
star
30

lametric-realtime-cryptocurrency

The ultimate realtime cryptocurrencies app for LaMetric : More than 2000 currencies available!
PHP
2
star
31

fake-committer

HEHEHEHEHEEHHE
Shell
2
star
32

action-shopify-cli

Dockerfile
2
star
33

hacktoberfest-2019

Quick guide for Hacktoberfest 2019 for IIM students
HTML
2
star
34

django-pokedex

School conference about Django framework
Python
2
star
35

lametric-fortnite

Fortnite stats for LaMetric
PHP
2
star
36

lametric-github-activity

PHP
2
star
37

lametric-stocks

Easily check and display stock prices on your LaMetric clock.
PHP
2
star
38

lametric-github-followers

GitHub followers statistics for LaMetric.
PHP
2
star
39

shopify-debut

https://github.com/pgrimaud/action-shopify
Liquid
2
star
40

gibert-jeune

[DEPRECATED] Little scraper for https://www.gibertjeune.fr
PHP
1
star
41

react-test

JavaScript
1
star
42

algolia-analytics-client-php

Algolia Analytics API Client for PHP
PHP
1
star
43

lametric-stop-smoking

Day counter and money saving since you stop smoking, directly on your LaMetric
PHP
1
star
44

juice-shop-multiple-envs

Run multiple OWASP Juice Shop containers on same host
Shell
1
star
45

lametric-rocket-launches

Next rocket launches app for LaMetric
PHP
1
star
46

react-hello

JavaScript
1
star
47

lametric-swarm

Show friends status and publish a check-in on Swarm with LaMetric
1
star
48

lametric-apex

Apex stats for LaMetric
PHP
1
star
49

lametric-forex

Forex app for Lametric
PHP
1
star
50

swarm-sdk

SDK for Swarm app API from Foursquare 🐝
PHP
1
star
51

lametric-bitpanda

Easily display the total balance of your cryptocurrencies of your Bitpanda account.
PHP
1
star
52

ratp-traffic-screen

WIP project for students
JavaScript
1
star
53

shopify-administration-outsourced

POC of Shopify administration outsourced
1
star
54

symfony-world-schedule

A CLI tool that gives you the SymfonyWorld online schedule in your timezone.
PHP
1
star
55

action-shopify-theme-check

Run Shopify Theme Check on GitHub Actions
Dockerfile
1
star
56

lametric-binance

Easily display the total balance of your cryptocurrencies of your Binance Spot account.
PHP
1
star
57

iim-td2

PHP
1
star