1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-24 16:19:12 -05:00
denoland-deno/tools/upload_docs.py
Ryan Dahl 3059558d41
fix cargo-publish-on-tag (#3781)
Also rename the "test" CI worker to "test_release"
2020-01-24 14:24:27 -05:00

13 lines
377 B
Python
Executable file

#!/usr/bin/env python
# Copyright 2018-2020 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=package/*", "--exclude=release/*", ".", "s3://deno.land/"
])