Skip to content

Commit ea3f144

Browse files
committed
chore(deploy): connection host test
1 parent 7330be8 commit ea3f144

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/cd.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ jobs:
4141
# ============================
4242
# SSH CONFIG
4343
# ============================
44+
- name: Network test
45+
run: |
46+
echo "Testing connection to ${{ secrets.EC2_HOST }}"
47+
nc -zv ${{ secrets.EC2_HOST }} 22
48+
4449
- name: Setup SSH
4550
run: |
4651
mkdir -p ~/.ssh

0 commit comments

Comments
 (0)