Skip to content

Commit

Permalink
Merge pull request #4 from thislooksfun/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
thislooksfun authored Nov 29, 2017
2 parents 9e9c55b + ae89d5e commit c5b62df
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions scripts/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ fi

./scripts/install.sh

git clone https://github.com/thislooksfun/compiled_mustache.wiki.git
if [[ $CI == true ]]; then
git clone "https://thislooksfun:$gh_token@github.com/thislooksfun/compiled_mustache.wiki.git"
else
git clone "https://github.com/thislooksfun/compiled_mustache.wiki.git"
fi
grind doc_benchmark_wiki
cd compiled_mustache.wiki
git add -A
git commit -m "Update Benchmarks"
git push
cd ..

# If it already exists, clean it out
if [ -d "deploy_staging" ]; then
Expand Down Expand Up @@ -64,4 +68,9 @@ cat <<EOF > ~/.pub-cache/credentials.json
EOF
fi

pub publish --force # Force to bypass 'are you sure' check

# Final publish phase
pub publish --force # Force to bypass 'are you sure' check

cd ../compiled_mustache.wiki
git push origin master

0 comments on commit c5b62df

Please sign in to comment.