mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2024-11-14 04:41:49 +08:00
fix actions
This commit is contained in:
parent
d4528e071a
commit
28032c6607
7
.github/workflows/main.yml
vendored
7
.github/workflows/main.yml
vendored
@ -61,7 +61,12 @@ jobs:
|
|||||||
rustc -Vv
|
rustc -Vv
|
||||||
mdbook --version
|
mdbook --version
|
||||||
- name: Run mdBook Build
|
- name: Run mdBook Build
|
||||||
run: mdbook build
|
run: |
|
||||||
|
mdbook build
|
||||||
|
mv html/* ./
|
||||||
|
mv "latex-pdf/Rust 程序设计语言 简体中文版.pdf" ./
|
||||||
|
rm -r html/
|
||||||
|
rm -rf latex-pdf/
|
||||||
- name: Deploy gh-pages
|
- name: Deploy gh-pages
|
||||||
if: ${{ github.ref == 'refs/heads/main' }}
|
if: ${{ github.ref == 'refs/heads/main' }}
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user