forked from TimDaub/hetzner-cloud-deploy-server-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
44 lines (42 loc) · 1.38 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
name: "nicokempe/hetzner-cloud-deploy-action"
description: "Deploy a Hetzner Cloud Server from a GitHub Action"
author: "Tim Daubenschütz, Nico Kempe"
inputs:
server-name:
description: "The name your server should be initiated with."
default: "gh-actions-ci-server"
required: false
server-image:
description: "The Operating System image your server should be initiated with."
required: true
server-type:
description: "The Hetzner server type you want your server to be."
required: true
ssh-key-name:
description: "The ssh key, you want your server to be provisioned with."
required: true
hcloud-token:
description: "Your Hetzner Cloud API token."
required: true
delete-server:
description: "Regulates whether a server should be deleted after the action."
required: false
default: true
startup-timeout:
description: "Gives the server some time (in Milliseconds) to boot up before ending the action."
required: false
default: 40000
floating-ip-id:
description: "Allows to assign a floating IP to the server after deployment"
required: false
floating-ip-assignment-timeout:
description: "Gives Hetzner some time (in Ms) to assign an IP to a server."
required: false
default: 60000
runs:
using: 'node12'
main: 'dist/deploy/index.js'
post: 'dist/clean/index.js'
branding:
icon: server
color: "yellow"