-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
45 lines (42 loc) · 1.18 KB
/
action.yml
File metadata and controls
45 lines (42 loc) · 1.18 KB
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
name: 'Static.app Deploy'
description: 'Deploy your static site or built application to Static.app'
author: 'Static.app'
branding:
icon: 'upload-cloud'
color: 'blue'
inputs:
api-key:
description: 'Your Static.app API key'
required: true
pid:
description: 'Project PID to update (Site → Settings → General)'
required: false
build-dir:
description: 'Directory to deploy (default: ./)'
required: false
default: './'
build-command:
description: 'Build command to run before deployment (optional)'
required: false
install-command:
description: 'Install command to run before build (default: npm ci)'
required: false
default: 'npm ci'
node-version:
description: 'Node.js version to use (default: 18)'
required: false
default: '18'
exclude:
description: 'Files/directories to exclude from deployment (comma-separated)'
required: false
default: 'node_modules,.git,.github,*.md,package*.json'
outputs:
site-id:
description: 'The ID of the deployed site'
site-url:
description: 'The URL of the deployed site'
deploy-url:
description: 'The deploy URL'
runs:
using: 'node16'
main: 'dist/index.js'