diff options
author | gnzlbg <gonzalobg88@gmail.com> | 2019-10-17 14:52:35 +0200 |
---|---|---|
committer | gnzlbg <gonzalobg88@gmail.com> | 2019-10-17 14:52:35 +0200 |
commit | 39decff1f6eccdaee226ae91c303f16503a83bf6 (patch) | |
tree | 07874d36534476dcf7fb703335f258a1cce51b95 | |
parent | bf877ba7123d8d1f990b70a8dda306942c9a93b0 (diff) | |
download | rust-libc-39decff1f6eccdaee226ae91c303f16503a83bf6.tar.gz |
Add job on master that publishes the website
-rw-r--r-- | ci/azure-master.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/ci/azure-master.yml b/ci/azure-master.yml new file mode 100644 index 0000000000..d6925e6e61 --- /dev/null +++ b/ci/azure-master.yml @@ -0,0 +1,24 @@ +variables: + - group: secrets +resources: + repositories: + - repository: rustinfra + type: github + name: rust-lang/simpleinfra + endpoint: gnzlbg +trigger: ["master"] +pr: ["master"] + +jobs: + - job: StyleAndDocs + pool: + vmImage: ubuntu-16.04 + steps: + - template: azure-install-rust.yml + - script: sh ci/style.sh + displayName: Check style + - script: LIBC_CI=1 sh ci/dox.sh + displayName: Generate documentation + - template: azure-configs/static-websites.yml@rustinfra + parameters: + deploy_dir: target/doc |