-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathaction.yml
62 lines (47 loc) · 1.48 KB
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: 'Shopify Theme Kit Actions'
description: 'A opinionated set of Github Actions to automatically create/push/preview themes on Shopify stores.'
author: 'Grafikr'
branding:
icon: 'shopping-cart'
color: 'green'
inputs:
ACTION:
description: "Action to use. Must be 'DEPLOY', 'PREVIEW' or 'DELETE'"
required: true
AWS_S3_REGION:
description: 'AWS region'
required: false
AWS_S3_BUCKET:
description: 'AWS bucket'
required: false
AWS_S3_ACCESS_KEY_ID:
description: 'AWS access key id'
required: false
AWS_S3_SECRET_ACCESS_KEY:
description: 'AWS secret access key'
required: false
THEME_KIT_ENVIRONMENT:
description: "The Theme Kit environment to build theme from. Defaults to 'development'"
required: false
THEME_KIT_DEPLOY_COMMAND:
description: 'The Theme Kit command you want to use to deploy themes'
required: false
SHOPIFY_THEME_ROLE:
description: "The role which a newly created Shopify theme should have. Defaults to 'development'"
required: false
GITHUB_TOKEN:
description: 'Github authentication token'
required: true
BUILD_DIR:
description: "Directory to build the theme. Defaults to 'build'"
required: false
outputs:
SHOPIFY_THEME_ID:
description: 'The created themes ID'
SHOPIFY_THEME_PREVIEW_URL:
description: 'The created themes preview URL'
SHOPIFY_THEME_CUSTOMIZE_URL:
description: 'The created themes customize URL'
runs:
using: 'node16'
main: 'dist/index.js'