aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/deploy.sh b/deploy.sh
new file mode 100755
index 0000000..bb32201
--- /dev/null
+++ b/deploy.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+ssh-add
+ssh root@fwei.tk rm -rf /var/www/html/blog
+ssh root@fwei.tk mkdir -p /var/www/html/blog
+scp out/* root@fwei.tk:/var/www/html/blog