Skip to content
This repository was archived by the owner on Mar 8, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ fi

# are we building the docs?
if [ "${DOCS}" != "" ]; then
if [ -n "${TRAVIS_TAG}" ]; then
export JEKYLL_ENV=production
fi
cd "${DIR}/packages/composer-website"
npm install
npm run full
Expand Down
2 changes: 1 addition & 1 deletion packages/composer-playground/src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
r=n.getElementsByTagName(g)[0];a.async=1;a.src=u;r.parentNode.insertBefore(a,r)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-91314349-1', 'auto');
ga('create', 'UA-91314349-3', 'auto');
ga('send', 'pageview');
</script>

Expand Down
2 changes: 1 addition & 1 deletion packages/composer-website/jekylldocs/_includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<link href="https://fonts.googleapis.com/css?family=Source+Code+Pro" rel="stylesheet">
<script src="{{site.baseurl}}/assets/js/clipboard.min.js"></script>

{% if site.github and site.google_tracking_id.production %}
{% if jekyll.environment == "production" and site.google_tracking_id.production %}
{% include googleanalytics.html tracking_id=site.google_tracking_id.production %}
{% elsif site.google_tracking_id.development %}
{% include googleanalytics.html tracking_id=site.google_tracking_id.development %}
Expand Down