Skip to content

Commit

Permalink
fix: broken gh-pages build (#1853)
Browse files Browse the repository at this point in the history
* chore: fix mkdocs

Signed-off-by: Derek Wang <whynowy@gmail.com>
  • Loading branch information
whynowy committed Apr 15, 2022
1 parent e78d540 commit f43468f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/gh-pages.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy
name: gh-pages

on:
push:
Expand All @@ -21,10 +21,10 @@ jobs:
go-version: '1.17.1'
- name: build
run: |
pip install mkdocs==1.0.4 mkdocs_material==4.1.1
pip install mkdocs==1.3.0 mkdocs_material==8.2.9
mkdocs build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
publish_dir: ./site
7 changes: 4 additions & 3 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@ theme:
font:
text: 'Work Sans'
logo: 'assets/logo.png'
google_analytics:
- 'UA-105170809-9'
- 'auto'
extra:
analytics:
provider: google
property: UA-105170809-9
markdown_extensions:
- codehilite
- admonition
Expand Down

0 comments on commit f43468f

Please sign in to comment.