Browse Source

Add deploy.sh

Tienson Qin 5 years ago
parent
commit
4821e4135d
2 changed files with 11 additions and 0 deletions
  1. 6 0
      deploy.sh
  2. 5 0
      readme.org

+ 6 - 0
deploy.sh

@@ -0,0 +1,6 @@
+#!/bin/sh
+
+yarn clean && yarn release
+
+cd public && now -n gitnotes
+cd ..

+ 5 - 0
readme.org

@@ -4,6 +4,11 @@
 ** Demo
    http://gitnotes.tiensonqin.now.sh/
 
+** Deploy to your now.sh instance
+   #+BEGIN_SRC shell
+     ./deploy.sh
+   #+END_SRC
+
 ** Develop
    #+BEGIN_SRC shell
      yarn install