Skip to content

Update README

Update README #5

name: Deploy to GitBook
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '10'
- name: Install GitBook CLI
run: |
npm install -g gitbook-cli
gitbook install
- name: Build GitBook
run: gitbook build
- name: Deploy to GitHub Pages
env:
GITBOOK_TOKEN: ${{ secrets.GITBOOK_TOKEN }}
run: gitbook push ./translations/_book https://monad-cn.gitbook.io/monad