We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed8460 commit e1ac0beCopy full SHA for e1ac0be
.github/workflows/deploy.yml
@@ -24,5 +24,5 @@ jobs:
24
HOST: 158.180.17.176
25
REMOTE_PATH: /var/www/html
26
run: |
27
- rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete ./ $USER@$HOST:$REMOTE_PATH
+ rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete --exclude='.git' --exclude='.htaccess' $USER@$HOST:$REMOTE_PATH
28
ssh -o StrictHostKeyChecking=no $USER@$HOST "sudo systemctl restart apache2"
0 commit comments