forked from zerotier/github-action
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaction.yml
More file actions
33 lines (30 loc) · 814 Bytes
/
action.yml
File metadata and controls
33 lines (30 loc) · 814 Bytes
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
name: "ZeroTier"
description: "Connect your Github Action workflow to ZeroTier"
branding:
icon: "globe"
color: "gray-dark"
on:
workflow_call:
inputs:
network_id:
description: "The ZeroTier network ID to connect to"
required: true
auth_token:
description: "Your ZeroTier Central API Access Token"
required: true
api_url:
description: "ZeroTier Central API URL"
required: false
default: "https://my.zerotier.com/api/v1"
runs:
using: "composite"
steps:
- name: zerotier
uses: zonneplan/zerotier-github-action/util/post@main
env:
API_URL: ${{ inputs.api_url }}
AUTH_TOKEN: ${{ inputs.auth_token }}
NETWORK_ID: ${{ inputs.network_id }}
with:
main: $GITHUB_ACTION_PATH/main.sh
post: $GITHUB_ACTION_PATH/post.sh