We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94ca328 commit 21410a8Copy full SHA for 21410a8
1 file changed
.github/workflows/deploy.yml
@@ -7,6 +7,21 @@ jobs:
7
runs-on: ubuntu-latest
8
9
steps:
10
+ - name: Knock-knock-knock
11
+ shell: bash
12
+ env:
13
+ KNOCK_HOST: ${{ secrets.SSH_HOST }}
14
+ KNOCK_SEQ: ${{ secrets.KNOCK_SEQ }}
15
+ run: |
16
+ echo "::add-mask::$KNOCK_HOST"
17
+ echo "::add-mask::$KNOCK_SEQ"
18
+
19
+ for s in $KNOCK_SEQ; do
20
+ ping -c 1 -s "$s" "$KNOCK_HOST" >/dev/null 2>&1 || true
21
+ done
22
23
+ sleep 1
24
25
- name: Run script on remote server
26
uses: appleboy/ssh-action@master
27
with:
0 commit comments