Skip to content

Commit 39decff

Browse files
committed
Add job on master that publishes the website
1 parent bf877ba commit 39decff

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

ci/azure-master.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
variables:
2+
- group: secrets
3+
resources:
4+
repositories:
5+
- repository: rustinfra
6+
type: github
7+
name: rust-lang/simpleinfra
8+
endpoint: gnzlbg
9+
trigger: ["master"]
10+
pr: ["master"]
11+
12+
jobs:
13+
- job: StyleAndDocs
14+
pool:
15+
vmImage: ubuntu-16.04
16+
steps:
17+
- template: azure-install-rust.yml
18+
- script: sh ci/style.sh
19+
displayName: Check style
20+
- script: LIBC_CI=1 sh ci/dox.sh
21+
displayName: Generate documentation
22+
- template: azure-configs/static-websites.yml@rustinfra
23+
parameters:
24+
deploy_dir: target/doc

0 commit comments

Comments
 (0)