1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-02-11 06:05:11 +08:00
Files
archbase/.github/workflows/deploy_bookdown.yml
Zhang Fuxin 9a99c9d945 fix workflow
2021-11-23 01:24:27 +08:00

28 lines
601 B
YAML

on:
push:
branches:
- main
pull_request:
branches:
- main
name: renderbook
jobs:
bookdown:
name: Render-Book
runs-on: ubuntu-latest
container:
image: foxsen76/archbase-builder:latest
steps:
- name: bookdown builder
run: cd /opt/archbase && git pull && make -j 8 && cp -a ./_book /github/home/
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: 2503799872@qq.com
build_dir: /github/home/_book/