Skip to content

Commit

Permalink
🏗️ Switch to mdBook
Browse files Browse the repository at this point in the history
  • Loading branch information
wizz-wallet-dev committed Nov 22, 2024
1 parent 2fe9358 commit 7793d40
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,17 @@ on:
jobs:
build:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
- name: Gitbook Action
uses: ZanderZhao/gitbook-action@master
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v2
with:
source_branch: 'main'
token: ${{ secrets.DEPLOY_TOKEN }}
mdbook-version: 'latest'
- run: mdbook build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7793d40

Please sign in to comment.