From 39decff1f6eccdaee226ae91c303f16503a83bf6 Mon Sep 17 00:00:00 2001 From: gnzlbg Date: Thu, 17 Oct 2019 14:52:35 +0200 Subject: Add job on master that publishes the website --- ci/azure-master.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ci/azure-master.yml 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 -- cgit v1.2.1