Skip to content

Commit e1ac0be

Browse files
committed
devamke
1 parent 1ed8460 commit e1ac0be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ jobs:
2424
HOST: 158.180.17.176
2525
REMOTE_PATH: /var/www/html
2626
run: |
27-
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete ./ $USER@$HOST:$REMOTE_PATH
27+
rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete --exclude='.git' --exclude='.htaccess' $USER@$HOST:$REMOTE_PATH
2828
ssh -o StrictHostKeyChecking=no $USER@$HOST "sudo systemctl restart apache2"

0 commit comments

Comments
 (0)