summaryrefslogtreecommitdiff
path: root/tools/upload_docs.py
blob: 7fe8857a6f9a857133ed8364e0da35e72259fbb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
# Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import os
import sys
from util import run, root_path

os.chdir(root_path)
run([sys.executable, "tools/docs.py"])
os.chdir("target")
run([
    "aws", "s3", "sync", "--include=typedoc", "--exclude=debug/*",
    "--exclude=release/*", ".", "s3://deno.land/"
])