We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 96647c9 commit a8e6c24Copy full SHA for a8e6c24
1 file changed
action.yml
@@ -7,6 +7,10 @@ inputs:
7
service-key:
8
description: 'Twingate Service Key'
9
required: true
10
+ debug:
11
+ description: 'Enable debug output'
12
+ required: false
13
+ default: "false"
14
runs:
15
using: "composite"
16
steps:
@@ -48,11 +52,15 @@ runs:
48
52
49
53
if [ "$status" = "online" ]; then
50
54
echo "Twingate service is connected."
51
- twingate resources
55
+ if [ "${{ inputs.debug }}" != "false" ]; then
56
+ twingate resources
57
+ fi
58
break
59
else
60
twingate stop
- journalctl -u twingate --no-pager
61
62
+ journalctl -u twingate --no-pager
63
64
fi
65
66
# Increment the retry counter and wait time
0 commit comments