Deny broken_intradoc_links and verify documentation in CI

This commit is contained in:
Héctor Ramón Jiménez 2023-09-09 20:58:45 +02:00
parent 89d9f1d7d2
commit f60884f6f8
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
17 changed files with 68 additions and 33 deletions

View file

@ -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 }}