summaryrefslogtreecommitdiff
path: root/tools/upload_docs.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/upload_docs.py')
-rwxr-xr-xtools/upload_docs.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/upload_docs.py b/tools/upload_docs.py
new file mode 100755
index 000000000..7fe8857a6
--- /dev/null
+++ b/tools/upload_docs.py
@@ -0,0 +1,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/"
+])