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.
1 parent 4c2afc5 commit 174940fCopy full SHA for 174940f
.github/workflows/deploy-gh-pages.yaml
@@ -6,10 +6,23 @@ on:
6
- 'master'
7
8
jobs:
9
- build:
10
- runs-on: ubuntu-latest
+ deploy:
+ runs-on: ubuntu-22.04
11
+ concurrency:
12
+ group: ${{ github.workflow }}-${{ github.ref }}
13
steps:
14
- uses: actions/checkout@v2
- - uses: XAMPPRocky/deploy-mdbook@v1.1
15
+
16
+ - name: Setup mdBook
17
+ uses: peaceiris/actions-mdbook@v1
18
+ with:
19
+ mdbook-version: 'latest'
20
21
+ - run: mdbook build
22
23
+ - name: Deploy
24
+ uses: peaceiris/actions-gh-pages@v3
25
+ if: ${{ github.ref == 'refs/heads/main' }}
26
with:
- token: ${{ secrets.GITHUB_TOKEN }}
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./book
0 commit comments