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 cef12bc commit 046ddbbCopy full SHA for 046ddbb
.github/workflows/deploy.yml
@@ -24,7 +24,7 @@ jobs:
24
HOST: 158.180.17.176
25
REMOTE_PATH: /var/www/html
26
run: |
27
- rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete --exclude='.git' --exclude='.htaccess' $USER@$HOST:$REMOTE_PATH
+ rsync -avz -e "ssh -o StrictHostKeyChecking=no" --delete --exclude='.git' --exclude='.htaccess' --exclude='.github' ${{ github.workspace }}/ $USER@$HOST:$REMOTE_PATH
28
ssh -o StrictHostKeyChecking=no $USER@$HOST "sudo systemctl restart apache2"
29
30
- name: Verify Deployment
0 commit comments