Skip to content

Commit

Permalink
r1
Browse files Browse the repository at this point in the history
  • Loading branch information
leshikus committed Jun 15, 2024
1 parent 4b00c1c commit 9302842
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy-gh.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

0 comments on commit 9302842

Please sign in to comment.