Skip to content

Commit b3343e1

Browse files
authored
fix: Tailscale steps order (#162)
1 parent 96e5994 commit b3343e1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

.github/workflows/deploy_helmfile.yaml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -94,20 +94,6 @@ jobs:
9494
- name: clone repository
9595
uses: actions/checkout@v4
9696

97-
- name: Tailscale VPN
98-
uses: tailscale/github-action@v2
99-
if: inputs.enableVpn == 'true'
100-
with:
101-
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
102-
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
103-
tags: tag:ci
104-
version: 1.76.1
105-
106-
# Bug https://github.com/tailscale/github-action/issues/107
107-
#- name: Tailscale sleep workaround
108-
# run: |
109-
# sleep 10
110-
11197
- name: Send notification to slack
11298
if: inputs.slackChannelId != ''
11399
uses: slackapi/[email protected]
@@ -201,6 +187,20 @@ jobs:
201187
- name: setup kubeconfig
202188
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS
203189

190+
- name: Tailscale VPN
191+
uses: tailscale/github-action@v2
192+
if: inputs.enableVpn == 'true'
193+
with:
194+
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
195+
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
196+
tags: tag:ci
197+
version: 1.76.1
198+
199+
# Bug https://github.com/tailscale/github-action/issues/107
200+
#- name: Tailscale sleep workaround
201+
# run: |
202+
# sleep 10
203+
204204
- name: wait until Tailscale is ready
205205
if: inputs.enableVpn == 'true'
206206
run: |

0 commit comments

Comments
 (0)