We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 10067ad + 85aa052 commit e812632Copy full SHA for e812632
1 file changed
.github/workflows/github-pages.yml
@@ -5,7 +5,6 @@ on:
5
push:
6
branches:
7
- main
8
- - docs
9
10
permissions:
11
contents: write
@@ -23,12 +22,15 @@ jobs:
23
22
with:
24
ruby-version: 3.x
25
26
- - name: Configure Git Credentials
27
- run: |
28
- git config user.name github-actions[bot]
29
- git config user.email 41898282+github-actions[bot]@users.noreply.github.com
30
-
31
- - name: Build and Deploy
+ - name: Build
32
run: |
33
pip install mkdocs-material
34
- mkdocs gh-deploy --force
+ mkdocs build
+
+ - name: Deploy to GitHub Pages
+ uses: peaceiris/actions-gh-pages@v3
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ cname: docs.meshcore.nz
35
+ publish_dir: ./site
36
+ publish_branch: 'gh-pages'
0 commit comments