Skip to content

Commit 80740db

Browse files
committed
add docs workflow ; remove workflow for v1
1 parent e16b58b commit 80740db

File tree

2 files changed

+37
-93
lines changed

2 files changed

+37
-93
lines changed

.github/workflows/build-iotnode-lorawan-release1.0.0.yml

-93
This file was deleted.

.github/workflows/mkdocs.yml

+37
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Run mkdocs
2+
on:
3+
push:
4+
branches:
5+
- main
6+
7+
workflow_dispatch:
8+
branches:
9+
10+
permissions:
11+
contents: write
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout repository
17+
uses: actions/checkout@v3
18+
19+
- name: Set up Python runtime
20+
uses: actions/setup-python@v4
21+
with:
22+
python-version: 3.x
23+
24+
- name: Install Python dependencies
25+
run: pip install mkdocs-monorepo-plugin mkdocs-redirects mkdocs-with-pdf weasyprint mkdocs-git-authors-plugin mkdocs-git-revision-date-localized-plugin mkdocs-git-committers-plugin-2
26+
27+
- name: Set up build cache
28+
uses: actions/cache@v2
29+
with:
30+
key: ${{ github.ref }}
31+
path: .cache
32+
33+
- name: Install Insiders build
34+
env:
35+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
36+
run: pip install git+https://${GH_TOKEN}@github.com/squidfunk/mkdocs-material-insiders.git
37+
- run: mkdocs gh-deploy --force

0 commit comments

Comments
 (0)