trying to cache Circle CI's checkout of ionic-site

This commit is contained in:
perry
2016-03-15 17:36:59 -05:00
parent 56fd46d9c3
commit 949c361026
5 changed files with 47 additions and 9 deletions
+6 -7
View File
@@ -14,12 +14,11 @@ function init {
}
function run {
ls -al
cd ./scripts
./git/clone.sh --repository="driftyco/ionic-site" \
--directory="$SITE_DIR" \
--branch="master"
cd ..
cd $SITE_DIR
git reset --hard
git pull origin master
VERSION=$(readJsonProp "package.json" "version")
# process new docs
@@ -45,4 +44,4 @@ function run {
fi
}
source $(dirname $0)/../utils.sh.inc
source $(dirname $0)/../utils.inc.sh