Permalink
Browse files

update publish script to rewrite trusted.js as well for staging deplo…

…yment
  • Loading branch information...
1 parent 422df60 commit d7f11488eb93b229512dfee2299f9c32a44a5d48 @lloyd lloyd committed Dec 15, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 site/publish
View
@@ -8,7 +8,7 @@ p.add_option("--server-hostname", dest="hostname", type="string")
if (type(opts.hostname) == str and opts.hostname.startswith("stage")):
# The first step of setting up site/ for publishing in a staging
# environment is substituting staging URLs for production
- for path in ["index.html", "jsapi/include.js"]:
+ for path in ["index.html", "jsapi/include.js", "jsapi/trusted.js"]:
file_contents = ""
with open(path, "r") as fp:
file_contents = fp.read()

0 comments on commit d7f1148

Please sign in to comment.