Skip to content

Commit af074ef

Browse files
committed
Keep the old input names
1 parent 85755d3 commit af074ef

2 files changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ jobs:
145145
## Inputs
146146
147147
> [!TIP]
148-
> Use an SSH key ID (`ssh_keys`) to disable root password generation and Hetzner Cloud email notifications.
148+
> Use an SSH key ID (`ssh_key`) to disable root password generation and Hetzner Cloud email notifications.
149149

150150
| Name | Required | Description | Default |
151151
|---------------------|----------|-------------|---------|
@@ -159,7 +159,7 @@ jobs:
159159
| `location` | | Name of Location to create Server in. | `nbg1` (Nürnberg 1) |
160160
| `mode` | ✓ (always) | Choose either `create` to create a new GitHub Actions Runner or `delete` to delete a previously created one. | |
161161
| `name` | ✓ (mode `delete`, optional for mode `create`) | The name for the server and label for the GitHub Actions Runner (must be unique within the project and conform to hostname rules: `^[a-zA-Z0-9_-]{1,64}`). | `gh-runner-[RANDOM-INT]` |
162-
| `networks` | | Comma separated Network IDs (integer) which should be attached to the Server private network interface at the creation time. | `null` |
162+
| `network` | | Comma separated Network IDs (integer) which should be attached to the Server private network interface at the creation time. | `null` |
163163
| `pre_runner_script` | | Specifies bash commands to run before the GitHub Actions Runner starts. It's useful for installing dependencies with apt-get, dnf, zypper etc. | |
164164
| `primary_ipv4` | | ID (integer) of the IPv4 Primary IP to use. If omitted and `enable_ipv4` is true, a new IPv4 Primary IP will automatically be created. | `null` |
165165
| `primary_ipv6` | | ID (integer) of the IPv6 Primary IP to use. If omitted and `enable_ipv6` is true, a new IPv6 Primary IP will automatically be created. | `null` |
@@ -169,8 +169,8 @@ jobs:
169169
| `server_id` | ✓ (mode `stop`) | ID (integer) of Hetzner Cloud Server to delete. | |
170170
| `server_type` | | Name of the Server type this Server should be created with. | `cx23` (Intel x86, 2 vCPU, 4GB RAM, 40GB SSD) |
171171
| `server_wait` | | Wait up to `server_wait` retries (10 sec each) for the Hetzner Cloud Server to start. | `30` (5 min) |
172-
| `ssh_keys` | | Comma separated SSH key IDs (integer) which should be injected into the Server at creation time. | `null` |
173-
| `volumes` | | Comma separated Volume IDs (integer) to attach and mount to the Server during creation. Volumes will be automatically mounted at `/mnt/HC_Volume_[VOLUME-ID]`. Volumes must be in the same location as the Server. More details in [Volumes section](#Volumes). | `null` |
172+
| `ssh_key` | | Comma separated SSH key IDs (integer) which should be injected into the Server at creation time. | `null` |
173+
| `volume` | | Comma separated Volume IDs (integer) to attach and mount to the Server during creation. Volumes will be automatically mounted at `/mnt/HC_Volume_[VOLUME-ID]`. Volumes must be in the same location as the Server. More details in [Volumes section](#Volumes). | `null` |
174174

175175
## Outputs
176176

action.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ inputs:
5454
description: >-
5555
The name for the server and label for the GitHub Actions Runner (must be unique within the project and conform to hostname rules: '[a-zA-Z0-9_-]').
5656
required: false
57-
networks:
57+
network:
5858
description: >-
5959
Comma separated Network IDs (integer) which should be attached to the Server private network interface at the creation time.
6060
required: false
@@ -107,12 +107,12 @@ inputs:
107107
Wait up to 'server_wait' retries (10 sec each) for the Hetzner Cloud Server to start (default: 30 = 5 min).
108108
required: false
109109
default: '30'
110-
ssh_keys:
110+
ssh_key:
111111
description: >-
112112
Comma separated SSH key IDs (integer) which should be injected into the Server at creation time.
113113
required: false
114114
default: 'null'
115-
volumes:
115+
volume:
116116
description: >-
117117
Comma separated Volume IDs (integer) which should be attached to the Server at the creation time.
118118
required: false
@@ -148,7 +148,7 @@ runs:
148148
INPUT_LOCATION: ${{ inputs.location }}
149149
INPUT_MODE: ${{ inputs.mode }}
150150
INPUT_NAME: ${{ inputs.name }}
151-
INPUT_NETWORKS: ${{ inputs.networks }}
151+
INPUT_NETWORKS: ${{ inputs.network }}
152152
INPUT_PRE_RUNNER_SCRIPT: ${{ inputs.pre_runner_script }}
153153
INPUT_PRIMARY_IPV4: ${{ inputs.primary_ipv4 }}
154154
INPUT_PRIMARY_IPV6: ${{ inputs.primary_ipv6 }}
@@ -158,5 +158,5 @@ runs:
158158
INPUT_SERVER_ID: ${{ inputs.server_id }}
159159
INPUT_SERVER_TYPE: ${{ inputs.server_type }}
160160
INPUT_SERVER_WAIT: ${{ inputs.server_wait }}
161-
INPUT_SSH_KEYS: ${{ inputs.ssh_keys }}
162-
INPUT_VOLUMES: ${{ inputs.volumes }}
161+
INPUT_SSH_KEYS: ${{ inputs.ssh_key }}
162+
INPUT_VOLUMES: ${{ inputs.volume }}

0 commit comments

Comments
 (0)