add deploy script

This commit is contained in:
ktyl 2022-01-16 20:20:44 +00:00
parent 7089da7e1a
commit fdfd3b245b
1 changed files with 8 additions and 0 deletions

8
deploy Executable file
View File

@ -0,0 +1,8 @@
#!/usr/bin/env bash
make run
mv site ktyl.dev
scp -r ktyl.dev admin@saturn:~
rm -r ktyl.dev
ssh saturn "sudo ./deploy"