Skip to content

Commit

Permalink
Update springboot-deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
gomsang authored Apr 7, 2024
1 parent a64d8e9 commit f643bf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/springboot-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
SERVER_IP: ${{ secrets.SERVER_IP }}
run: |
mkdir -p ~/.ssh
echo $SERVER_SSH_KEY > ~/.ssh/id_rsa
echo "$SERVER_SSH_KEY" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
scp -o StrictHostKeyChecking=no build/libs/*.jar $SERVER_USER@$SERVER_IP:~/
ssh -o StrictHostKeyChecking=no ubuntu@$SERVER_IP << EOF
Expand Down

0 comments on commit f643bf9

Please sign in to comment.