guandan.dev
guandan.dev
https://git.tonybtw.com/guandan.dev.git
git://git.tonybtw.com/guandan.dev.git
Added deploy to justfile
Diff
diff --git a/justfile b/justfile
index 999c87b..ff2af75 100644
--- a/justfile
+++ b/justfile
@@ -20,3 +20,11 @@ build:
install:
cd client && npm install
+
+deploy:
+ #!/usr/bin/env bash
+ cd /www/sites/guandanbtw
+ sudo git fetch
+ sudo git merge origin/master
+ just build
+ sudo systemctl restart guandanbtw