✨ last one
This commit is contained in:
parent
33e37510b1
commit
b8eedd3f11
@ -41,7 +41,7 @@ jobs:
|
||||
run: mkdir -p $HOME/.ssh && echo "${{ secrets.DEPLOY_KEY }}" > $HOME/.ssh/test_private_key && chmod 600 $HOME/.ssh/test_private_key
|
||||
# On utilise Rsync pour copier les fichiers (On fait en sorte de supprimer les ancien fichiers)
|
||||
- name: Deploy files
|
||||
run: rsync -av -e "ssh -i $HOME/.ssh/test_private_key" --delete ./dist/ ${{ secrets.DEPLOY_URL }}
|
||||
run: rsync -av -e "ssh -o StrictHostKeyChecking=no -i $HOME/.ssh/test_private_key" --delete ./dist/ ${{ secrets.DEPLOY_URL }}
|
||||
# On supprime la clé SSH
|
||||
- name: Remove SSH key
|
||||
run: rm $HOME/.ssh/test_private_key
|
||||
|
Loading…
Reference in New Issue
Block a user