Skip to content

Commit

Permalink
[fix] ci error in Build docs
Browse files Browse the repository at this point in the history
  • Loading branch information
hky1999 committed Oct 25, 2024
1 parent 5707b63 commit 07cc7b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ jobs:
- name: Build docs
continue-on-error: ${{ github.ref != env.default-branch && github.event_name != 'pull_request' }}
run: |
cargo doc --no-deps --all-features
cargo doc --no-deps --all-features --target ${{ matrix.targets }}
printf '<meta http-equiv="refresh" content="0;url=%s/index.html">' $(cargo tree | head -1 | cut -d' ' -f1) > target/${{ matrix.targets }}/doc/riscv_vcpu/index.html
- name: Deploy to Github Pages
if: ${{ github.ref == env.default-branch }}
uses: JamesIves/github-pages-deploy-action@v4
with:
single-commit: true
branch: gh-pages
folder: target/doc
folder: target/${{ matrix.targets }}/doc

0 comments on commit 07cc7b6

Please sign in to comment.