Skip to content

Commit

Permalink
Fix --exclude 2
Browse files Browse the repository at this point in the history
  • Loading branch information
greymd committed Jan 2, 2024
1 parent 737f32c commit daac942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
run: |
printf '%s' "$KEY" > id_rsa
chmod 400 id_rsa
rsync --exclude '.git' --delete -av -e "ssh -p $PORT -i id_rsa -o StrictHostKeyChecking=no" --rsync-path 'sudo rsync' --port=$PORT ./ $USERNAME@$HOST:/var/www/html/lottie-color-edit
rsync --exclude '.git*' --exclude 'id_rsa' --delete -av -e "ssh -p $PORT -i id_rsa -o StrictHostKeyChecking=no" --rsync-path 'sudo rsync' --port=$PORT ./ $USERNAME@$HOST:/var/www/html/lottie-color-edit
rm -f id_rsa

0 comments on commit daac942

Please sign in to comment.