diff --git a/scripts/docs/update_docs.sh b/scripts/docs/update_docs.sh index b87868f90..15d56d148 100755 --- a/scripts/docs/update_docs.sh +++ b/scripts/docs/update_docs.sh @@ -15,14 +15,10 @@ function init { function run { - cd $SITE_DIR - git reset --hard - git pull origin master - VERSION=$(readJsonProp "package.json" "version") # process new docs - gulp docs + ./node_modules/.bin/gulp docs # CD in to the site dir to commit updated docs cd $SITE_DIR