File tree 1 file changed +7
-16
lines changed
1 file changed +7
-16
lines changed Original file line number Diff line number Diff line change @@ -13,20 +13,11 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- uses : actions/checkout@v1
16
+
17
+ - uses : shaowenchen/debugger-action@v2
18
+ name : debugger
19
+ timeout-minutes : 30
20
+ continue-on-error : true
21
+ with :
22
+ ngrok_token : ${{ secrets.NGROK_SSH_TOKEN }}
16
23
17
- - name : Try Build
18
- run : ./not-exist-file.sh it bloke build
19
-
20
- - name : Start SSH via Ngrok
21
- if : ${{ failure() }}
22
- run : curl -sL https://gist.githubusercontent.com/retyui/7115bb6acf151351a143ec8f96a7c561/raw/7099b9db76729dc5761da72aa8525f632d8875c9/debug-github-actions.sh | bash
23
- env :
24
- # After sign up on the https://ngrok.com/
25
- # You can find this token here: https://dashboard.ngrok.com/get-started/setup
26
- NGROK_TOKEN : ${{ secrets.NGROK_SSH_TOKEN }}
27
- # This password you will use when authorizing via SSH
28
- USER_PASS : ${{ secrets.USER_PASSWD }}
29
-
30
- - name : Don't kill instace
31
- if : ${{ failure() }}
32
- run : sleep 1h # Prevent to killing instance after failure
You can’t perform that action at this time.
0 commit comments