-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
34 lines (34 loc) · 1006 Bytes
/
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
name: "Lona GitHub Action"
description: "A Github Action to check if Lona can run on the repo and upload a documentation website to Lona."
author: "Mathieu Dutour"
outputs:
output_folder:
description: "The folder that will get deployed to Lona's servers."
inputs:
github_token:
description: "Required for Lona to check the permissions."
required: true
workflow_succeeded:
description: "Required for setting the deployment state."
required: true
ref_name:
description: "The ref to deploy."
required: false
output_folder:
description: "The folder that will get deployed to Lona's servers."
required: false
default: "./.output"
lona_api_base_url:
description: "The Lona API server."
required: false
default: https://api.lona.design/production
runs:
using: "node12"
main: "lib/main.js"
post: "lib/post.js"
post-if: always()
# env:
# WORKFLOW_SUCCEEDED: ${{ job.status == 'Success' }}
branding:
icon: "upload-cloud"
color: "red"