Skip to content

Commit aea9759

Browse files
lukasmrtvyseyhello
andauthored
fix: type missing in input for tailscale task (#124)
* fix: type missing in input for tailscale task * fix: TS secrets objects definition --------- Co-authored-by: Kamil Stus <[email protected]>
1 parent 1c3ce4e commit aea9759

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/deploy_helmfile.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ on:
6262
description: Enable VPN connection
6363
required: false
6464
default: true
65+
type: string
6566

6667
secrets:
6768
awsAccessKeyId:
@@ -73,6 +74,13 @@ on:
7374
slackToken:
7475
description: Slack API token
7576
required: false
77+
ts_oauth_client_id:
78+
description: Tailscale OAuth Client ID
79+
required: false
80+
ts_oauth_secret:
81+
description: Tailscale OAuth Client Secret
82+
required: false
83+
7684

7785
env:
7886
AWS_ACCESS_KEY_ID: ${{ secrets.awsAccessKeyId }}
@@ -182,7 +190,7 @@ jobs:
182190

183191
- name: Tailscale VPN
184192
uses: tailscale/github-action@v2
185-
if: inputs.enableVpn
193+
if: inputs.enableVpn == 'true'
186194
with:
187195
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
188196
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}

0 commit comments

Comments
 (0)