generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 27
/
action.yml
36 lines (36 loc) · 907 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
35
36
name: '🔂 Surge PR Preview'
description: 'Preview website in surge.sh for every pull request'
author: 'afc163'
inputs:
surge_token:
description: 'surge.sh token'
default: '6973bdb764f0d5fd07c910de27e2d7d0'
github_token:
description: 'github token'
required: true
default: ${{ github.token }}
build:
description: 'build scripts'
default: |
npm install
npm run build
required: false
dist:
description: 'dist folder to deploy'
default: 'public'
required: false
failOnError:
description: 'Set `failed` if a deployment throws error'
teardown:
description: 'Determines if the preview instance will be torn down on PR close'
default: 'false'
required: false
outputs:
preview_url:
description: 'The url for the related PR preview'
runs:
using: node20
main: 'dist/index.js'
branding:
icon: 'monitor'
color: 'yellow'