personal-site/infra/deploy.sh

6 lines
152 B
Bash
Raw Normal View History

2024-08-26 16:27:10 +00:00
cd build
tar -czvf ../personal_site.tar.gz *
cd ..
ssh hetzner "tar -C /var/www/jmsgrogan/html/ -xz -f-" < personal_site.tar.gz
rm personal_site.tar.gz