Deny broken_intradoc_links and verify documentation in CI
This commit is contained in:
parent
89d9f1d7d2
commit
f60884f6f8
17 changed files with 68 additions and 33 deletions
6
.github/workflows/document.yml
vendored
6
.github/workflows/document.yml
vendored
|
|
@ -1,8 +1,5 @@
|
|||
name: Document
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
all:
|
||||
runs-on: ubuntu-20.04
|
||||
|
|
@ -31,6 +28,7 @@ jobs:
|
|||
- name: Write CNAME file
|
||||
run: echo 'docs.iced.rs' > ./target/doc/CNAME
|
||||
- name: Publish documentation
|
||||
if: github.ref == 'refs/heads/master'
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue