Skip to content

Commit

Permalink
fixed timeout and secert env
Browse files Browse the repository at this point in the history
  • Loading branch information
swissbuechi committed Dec 23, 2022
1 parent fa10f99 commit 3b111a8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ runs:
shell: bash

- name: Add VPN TOTP
env:
VPN_OTP: ${{ secrets.VPN_OTP }}
if: inputs.otp-hex != null
run: |
OTP=$(oathtool --totp ${{ inputs.otp-hex }})
Expand All @@ -94,6 +92,6 @@ runs:
shell: bash

- name: Wait for a VPN connection
timeout-minutes: 1
# timeout-minutes: 1
run: until dig @${{ inputs.dns-server }} ${{ inputs.dns-server }} A +time=1; do sleep 2; done
shell: bash

0 comments on commit 3b111a8

Please sign in to comment.