diff --git a/README.md b/README.md index e2825fd..41abaed 100644 --- a/README.md +++ b/README.md @@ -31,3 +31,9 @@ $ vi ... $ go get $ golit ... ``` + +### Update Docs + +```console +$ ./doc +``` diff --git a/doc b/doc old mode 100644 new mode 100755 index 916e911..1b58358 --- a/doc +++ b/doc @@ -1,6 +1,6 @@ #!/bin/bash -set -e +set -x go get golit main.go golit > /tmp/index.html @@ -8,3 +8,4 @@ git checkout gh-pages cp /tmp/index.html . git commit -am "update docs" git push github gh-pages +git co master