-
Notifications
You must be signed in to change notification settings - Fork 1
40 lines (36 loc) · 936 Bytes
/
docs.yaml
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
31
32
33
34
35
36
37
38
39
40
name: publish_docs
on:
push:
branches:
- main
workflow_dispatch:
repository_dispatch:
types: [publish-docs]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
publish-docs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
- name: Setup config
uses: athackst/athackst.mkdocs@main
- name: Build and push docs to gh-pages
uses: athackst/mkdocs-simple-plugin@main
- name: Htmlproofer
uses: athackst/htmlproofer-action@main
with:
directory: site
ignore_urls: |
https://fonts.gstatic.com
https://twitter.com/althack
/http://sdformat.org/
/https://gazebosim.org/