1
1
mirror of https://github.com/foxsen/archbase.git synced 2026-04-02 18:29:09 +08:00

fix workflow

This commit is contained in:
Zhang Fuxin
2021-11-23 01:24:27 +08:00
parent db35c81b70
commit 9a99c9d945

View File

@@ -12,17 +12,16 @@ jobs:
bookdown:
name: Render-Book
runs-on: ubuntu-latest
container:
image: foxsen76/archbase-builder:latest
steps:
- name: bookdown builder
container:
image: foxsen76/archbase-builder:latest
volumes:
- /tmp:/tmp
run: git pull && make -j 8 && cp -a _book /tmp
- name: Deploy to GitHub Pages
uses: Cecilapp/GitHub-Pages-deploy@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
email: 2503799872@qq.com
build_dir: /tmp/_book/
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/