blob: 9d1fa66ccb595c5807ba4c55aa3b36f5233f8e54 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
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
|