Skip to content

Commit

Permalink
fix: Tailscale steps order
Browse files Browse the repository at this point in the history
  • Loading branch information
seyhello committed Dec 5, 2024
1 parent 96e5994 commit 5b42062
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/deploy_helmfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,20 +94,6 @@ jobs:
- name: clone repository
uses: actions/checkout@v4

- name: Tailscale VPN
uses: tailscale/github-action@v2
if: inputs.enableVpn == 'true'
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
version: 1.76.1

# Bug https://github.com/tailscale/github-action/issues/107
#- name: Tailscale sleep workaround
# run: |
# sleep 10

- name: Send notification to slack
if: inputs.slackChannelId != ''
uses: slackapi/[email protected]
Expand Down Expand Up @@ -201,6 +187,20 @@ jobs:
- name: setup kubeconfig
run: aws eks update-kubeconfig --name ${{ inputs.eksClusterName }} $OPTIONAL_PARAMS

- name: Tailscale VPN
uses: tailscale/github-action@v2
if: inputs.enableVpn == 'true'
with:
oauth-client-id: ${{ secrets.TS_OAUTH_CLIENT_ID }}
oauth-secret: ${{ secrets.TS_OAUTH_SECRET }}
tags: tag:ci
version: 1.76.1

# Bug https://github.com/tailscale/github-action/issues/107
#- name: Tailscale sleep workaround
# run: |
# sleep 10

- name: wait until Tailscale is ready
if: inputs.enableVpn == 'true'
run: |
Expand Down

0 comments on commit 5b42062

Please sign in to comment.