mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Remove redundant SSH setup commands
This commit is contained in:
@@ -51,8 +51,5 @@ jobs:
|
||||
env:
|
||||
SSH_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
|
||||
run: |
|
||||
mkdir -p ~/.ssh
|
||||
echo "$SSH_KEY" > ~/.ssh/id_deploy
|
||||
chmod 600 ~/.ssh/id_deploy
|
||||
ssh-keyscan -H hazemkrimi.tech >> ~/.ssh/known_hosts
|
||||
rsync -avz --delete public deploy@hazemkrimi.tech:/var/www/hazemkrimi.tech
|
||||
|
||||
Reference in New Issue
Block a user