-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
41 lines (38 loc) · 1020 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
37
38
39
40
41
name: 'Platform.sh Actions'
description: 'Perform action on platform.sh projects'
# Add your action's branding here. This will appear on the GitHub Marketplace.
branding:
icon: 'server'
color: 'gray-dark'
# Define your inputs here.
inputs:
action:
description: 'Action to perform'
required: true
default: 'deploy'
project-id:
description: 'Project ID on platform.sh'
required: true
cli-token:
description: 'Token for platform.sh CLI'
required: true
ssh-private-key:
description: 'SSH key to access the git repository on platform.sh'
required: false
cli-version:
description: 'Platform.sh CLI version to setup'
required: true
default: 'latest'
force-push:
description: 'Force push to Platform.sh'
required: false
environment-name:
description: 'Name of the platform.sh instance'
required: false
# Define your outputs here.
outputs:
deployed-url:
description: 'URL of deployed instance'
runs:
using: node20
main: dist/index.js