From dc18bb1c9d4893a9a6aa7c95222698913c1e0749 Mon Sep 17 00:00:00 2001 From: Alexei Fedotov Date: Sat, 15 Jun 2024 03:26:36 +0200 Subject: [PATCH] r1 --- .github/workflows/deploy-gh.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-gh.yaml b/.github/workflows/deploy-gh.yaml index 4bde9b8..ffa4a60 100644 --- a/.github/workflows/deploy-gh.yaml +++ b/.github/workflows/deploy-gh.yaml @@ -40,6 +40,7 @@ jobs: - run: | systemctl status sshd + ssh $(hostname -i) echo hello sleep 200 @@ -61,11 +62,13 @@ jobs: - run: | set -vx - ls -l echo ${{ matrix.id }} ip=$(cat control-node-ip.txt) + mkdir .ssh + chmod 700 .ssh + chmod 600 id_rsa.pub mv id_rsa.pub .ssh/ - ping $ip + ssh $ip echo hello