joinlemmy-site/deploy.sh
2021-03-13 09:57:06 -05:00

7 lines
240 B
Bash
Executable file

#!/bin/bash
git submodule update --remote
git add lemmy-docs
git commit -m"Updating docs"
git push
rsync --rsync-path="sudo rsync" -chavzP /var/www/joinlemmy --stats tyler@lemmy.ml:/var/www/
ssh tyler@lemmy.ml 'sudo systemctl reload nginx'