mirror of
https://github.com/eunomia-bpf/bpf-developer-tutorial.git
synced 2026-02-03 10:14:44 +08:00
CI: fix deploy error
This commit is contained in:
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
@@ -18,9 +18,13 @@ jobs:
|
||||
- uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
toolchain: stable
|
||||
- run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
|
||||
- run: mdbook build && mdbook test
|
||||
- uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
- name: install mdbook
|
||||
run: (test -x $HOME/.cargo/bin/mdbook || cargo install mdbook)
|
||||
- name: build and test
|
||||
run: mdbook build && mdbook test
|
||||
- name: publish
|
||||
if: github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository_owner == 'eunomia-bpf'
|
||||
uses: JamesIves/github-pages-deploy-action@v4.4.1
|
||||
with:
|
||||
branch: gh-pages
|
||||
folder: book
|
||||
|
||||
Reference in New Issue
Block a user