forked from Farbfox/hetzner-cloud-deploy-server-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
53 lines (51 loc) · 1.82 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
45
46
47
48
49
50
51
52
53
name: "Farbfox/hetzner-cloud-deploy-server-action"
description: "Deploy a Hetzner Cloud Server from a GitHub Action"
author: "Tim Daubenschütz | Michael Schiller"
inputs:
server-name:
description: "The name your server should be initiated with."
default: "gh-actions-ci-server"
required: false
server-type:
description: "The Hetzner server type you want your server to be."
required: true
server-location:
description: "The Hetzner server location (nbg1|...) you want your server to be."
required: true
image-identifier:
description: "The name or ID of the Operating System image your server should be initiated with."
required: true
image-label:
description: "The label of the Operating System image your server should be initiated with."
required: false
image-type:
description: "The type (system|snapshot|backup|app) of the Operating System image your server should be initiated with."
required: false
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"