Skip to content

Commit

Permalink
support dev deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeGermuska committed Mar 25, 2015
1 parent e5f295e commit 5ecc053
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions config.json
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,8 @@
// - copy website/static >> build/website/static
// - run usemin on all html in build/website
// - sync build/website with bucket
"deploy": {
"stg": {"bucket": "timeline.knilab.com"},
"prd": {"bucket": "timeline.knightlab.com"}
"deploy": {
"stg": {"bucket": "timeline.knilab.com", "usemin_context": {"cdn": "dev"}},
"prd": {"bucket": "timeline.knightlab.com", "usemin_context": {"cdn": "latest"}}
}
}
2 changes: 1 addition & 1 deletion website/templates/_demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
font: 'NewsCycle-Merriweather',
};
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
<script type="text/javascript">
var generator_embed_path = "http://cdn.knightlab.com/libs/timeline/latest/embed/index.html";
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed-generator.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed-generator.js -->
<script type="text/javascript">
var generator_embed_path = "/source/embed/index.html";
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/houston/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'Bevan-PotanoSans'
}
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/republican/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'PT'
}
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/shit-people-say/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'Pacifico-Arimo'
}
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down
2 changes: 1 addition & 1 deletion website/templates/examples/user-interface/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
font: 'SansitaOne-Kameron'
}
</script>
<!-- build:js http://cdn.knightlab.com/libs/timeline/latest/js/storyjs-embed.js -->
<!-- build:js http://cdn.knightlab.com/libs/timeline/%(cdn)s/js/storyjs-embed.js -->
<script type="application/javascript">
var embed_path = "/build/"
</script>
Expand Down

0 comments on commit 5ecc053

Please sign in to comment.