Skip to content

add chapter 2

add chapter 2 #2

Workflow file for this run

name: CI/CD
on:
push:
branches:
- main
paths:
- "src/**"
- "book.toml"
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- name: Build
uses: ./.github/actions/build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }}
external_repository: pixelaw/pixelaw
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./book