From b6b044703026ec858ddb44367dceb36f907968e9 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 3 Aug 2014 20:07:29 -0600 Subject: [PATCH] chore(): fix deploy script --- circle.yml | 2 ++ scripts/circle/deploy.sh | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/circle.yml b/circle.yml index efd8a82c03..4a70c90f2e 100644 --- a/circle.yml +++ b/circle.yml @@ -1,6 +1,8 @@ machine: node: version: v0.10.26 + ruby: + version: 2.1.2 checkout: post: - "[[ ! -s \"$(git rev-parse --git-dir)/shallow\" ]] || git fetch --unshallow" diff --git a/scripts/circle/deploy.sh b/scripts/circle/deploy.sh index f6f36359ab..593818bab3 100755 --- a/scripts/circle/deploy.sh +++ b/scripts/circle/deploy.sh @@ -44,16 +44,18 @@ function run { fi ;; 2) - # TEMPORARILY disable site deploy tasks. We have to install jekyll. - # Which means ruby, which means it will take some thought. + # We have to install jekyll for the site task for now. + gem install jekyll + # Install gulp globally for site deploy script. + npm install -g gulp # Be sure to update the site one after the other, # so the tasks don't have a push conflict if [[ "$IS_RELEASE" == "true" ]]; then - # ./scripts/site/config.sh + ./scripts/site/config.sh fi # Update docs - # ./scripts/site/docs.sh --version-name="$VERSION_NAME" + ./scripts/site/docs.sh --version-name="$VERSION_NAME" ;; 3) # Update demos