Skip to content

Commit

Permalink
teste
Browse files Browse the repository at this point in the history
  • Loading branch information
danielguirra committed Mar 27, 2024
1 parent 3456f0c commit ef85da3
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ jobs:
SSH_PUB_KEY: ${{secrets.SSH_PUB_KEY}}
SSH_USER: ${{secrets.SSH_USER}}

run: echo "${{ secrets.SSH_PUB_KEY }}" > ~/.ssh/id_rsa.pub &&
ssh $SSH_USER@SSH_IP &&
run: |
mkdir -p ~/.ssh/
echo "${{ secrets.SSH_PUB_KEY }}" > ~/.ssh/id_rsa.pub
ssh-keyscan -H ${{ secrets.SSH_IP }} >> ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_rsa
ssh $SSH_USER@SSH_IP
touch uga.txt

0 comments on commit ef85da3

Please sign in to comment.