-
Notifications
You must be signed in to change notification settings - Fork 12
/
action.yml
53 lines (53 loc) · 1.45 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
name: "Plasmic action"
description: "Performs actions in Plasmic projects"
author: "Plasmic <ops@plasmic.app>"
inputs:
run:
description: "Action to perform ('init', 'sync', 'build')"
required: true
github_token:
description: "GitHub token, used to push back to repository"
required: false
project_id:
description: "Plasmic project ID"
required: false
project_api_token:
description: "Plasmic project API token"
required: false
platform:
description: "Framework ('nextjs', 'gatsby', 'react')"
required: false
language:
description: "Language ('js', 'ts')"
required: false
scheme:
description: "Scheme ('codegen', 'loader')"
required: false
branch:
description: "Branch to use"
required: false
title:
description: "Commit title"
required: false
description:
description: "Commit description"
required: false
directory:
description: "Working directory, relative to repository root"
required: false
sync_action:
description: "Sync action to perform ('commit', 'pr')"
required: false
skip_if_plasmic:
description: "Skip build if last commit was authored by Plasmic"
required: false
outputs:
synced:
description: "True if project was synced"
new_branch:
description: "New branch name (if a new branch was created)"
publish_dir:
description: "Build/dist directory to publish (if project was built)"
runs:
using: "node12"
main: "lib/main.js"