]> git.lizzy.rs Git - rust.git/blob - library/portable-simd/.github/workflows/doc.yml
Rollup merge of #85766 - workingjubilee:file-options, r=yaahc
[rust.git] / library / portable-simd / .github / workflows / doc.yml
1 name: Documentation
2
3 on:
4   push:
5     branches:
6       - master
7
8 jobs:
9   release:
10     name: Deploy Documentation
11     runs-on: ubuntu-latest
12
13     steps:
14       - name: Checkout Repository
15         uses: actions/checkout@v1
16
17       - name: Setup Rust
18         run: |
19           rustup update nightly --no-self-update
20           rustup default nightly
21
22       - name: Build Documentation
23         run: cargo doc --no-deps
24       
25       - name: Deploy Documentation
26         uses: peaceiris/actions-gh-pages@v3
27         with:
28           github_token: ${{ secrets.GITHUB_TOKEN }}
29           publish_branch: gh-pages
30           publish_dir: ./target/doc