mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Add missing import to docs upload script.
This commit is contained in:
parent
cb693b3228
commit
540b28e44f
1 changed files with 1 additions and 1 deletions
|
@ -271,7 +271,7 @@ def upload_docs():
|
||||||
.with_features("taskclusterProxy")
|
.with_features("taskclusterProxy")
|
||||||
.with_scopes("secrets:get:project/servo/doc.servo.org")
|
.with_scopes("secrets:get:project/servo/doc.servo.org")
|
||||||
.with_env(PY="""if 1:
|
.with_env(PY="""if 1:
|
||||||
import urllib, json
|
import urllib, json, os
|
||||||
root_url = os.environ["TASKCLUSTER_PROXY_URL"]
|
root_url = os.environ["TASKCLUSTER_PROXY_URL"]
|
||||||
url = root_url + "/api/secrets/v1/secret/project/servo/doc.servo.org"
|
url = root_url + "/api/secrets/v1/secret/project/servo/doc.servo.org"
|
||||||
token = json.load(urllib.urlopen(url))["secret"]["token"]
|
token = json.load(urllib.urlopen(url))["secret"]["token"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue