mirror of
https://github.com/foxsen/archbase.git
synced 2026-04-02 18:29:09 +08:00
fix workflow
This commit is contained in:
23
.github/workflows/deploy_bookdown.yml
vendored
23
.github/workflows/deploy_bookdown.yml
vendored
@@ -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/
|
||||
|
||||
Reference in New Issue
Block a user