rust/library/portable-simd/.github/workflows/doc.yml
Jubilee Young fdee059c90 Add 'library/portable-simd/' from commit '1ce1c645cf27c4acdefe6ec8a11d1f0491954a99'
git-subtree-dir: library/portable-simd
git-subtree-mainline: efd0483949
git-subtree-split: 1ce1c645cf
2021-11-12 16:58:25 -08:00

30 lines
632 B
YAML

name: Documentation
on:
push:
branches:
- master
jobs:
release:
name: Deploy Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v1
- name: Setup Rust
run: |
rustup update nightly --no-self-update
rustup default nightly
- name: Build Documentation
run: cargo doc --no-deps
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc