Skip to content

Commit baa1d95

Browse files
committed
ci: add action for docs deployment
1 parent 1f5ef80 commit baa1d95

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.github/workflows/deploy_docs.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Publish docs via GitHub Pages
2+
on:
3+
push:
4+
branches:
5+
- main
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
jobs:
14+
build:
15+
name: Deploy docs
16+
runs-on: ubuntu-latest
17+
steps:
18+
- name: Checkout main
19+
uses: actions/checkout@v2
20+
21+
- name: Deploy docs
22+
uses: mhausenblas/mkdocs-deploy-gh-pages@master
23+
env:
24+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25+
EXTRA_PACKAGES: build-base

0 commit comments

Comments
 (0)