summaryrefslogtreecommitdiffstats
path: root/.github/workflows/gh-pages.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/gh-pages.yml')
-rw-r--r--.github/workflows/gh-pages.yml5
1 files changed, 2 insertions, 3 deletions
diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml
index cd5f9364..d7b8ee70 100644
--- a/.github/workflows/gh-pages.yml
+++ b/.github/workflows/gh-pages.yml
@@ -2,8 +2,7 @@ name: Build and Deploy to Github Pages
on:
push:
- branches:
- - main # Here source code branch is `master`, it could be other branch
+ branches: [ main ]
jobs:
deploy:
@@ -16,7 +15,7 @@ jobs:
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
- mdbook-version: "0.4.10"
+ mdbook-version: "0.4.18"
# mdbook-version: 'latest'
- uses: actions-rs/install@v0.1