Skip to content

Commit

Permalink
Add job on master that publishes the website
Browse files Browse the repository at this point in the history
  • Loading branch information
gnzlbg committed Oct 17, 2019
1 parent bf877ba commit 39decff
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions ci/azure-master.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 39decff

Please sign in to comment.