From 9302842a6c3eed2019547cef4cfa5cfab80aa3cf Mon Sep 17 00:00:00 2001 From: Alexei Fedotov Date: Sat, 15 Jun 2024 03:18:25 +0200 Subject: [PATCH] r1 --- .github/workflows/deploy-gh.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-gh.yaml b/.github/workflows/deploy-gh.yaml index 57480a0..0c9d1ec 100644 --- a/.github/workflows/deploy-gh.yaml +++ b/.github/workflows/deploy-gh.yaml @@ -28,14 +28,15 @@ jobs: hostname -i >control-node-ip.txt ssh-keygen -q -b 2048 -t rsa -N '' -C 'cluster key' -f ~/.ssh/id_rsa cp ~/.ssh/id_rsa.pub ~/.ssh/authorized_keys + cp ~/.ssh/id_rsa.pub . - - name: Upload control node IP + - name: Upload control node data uses: actions/upload-artifact@v4 with: name: control-node path: | control-node-ip.txt - ~/.ssh/id_rsa.pub + id_rsa.pub - run: | sleep 200 @@ -62,6 +63,7 @@ jobs: ls -l echo ${{ matrix.id }} ip=$(cat control-node-ip.txt) - mv .ssh ~/ + mkdir .ssh + mv id_rsa.pub .ssh/ ssh $ip echo hello