mirror of
https://github.com/KaiserY/trpl-zh-cn
synced 2025-02-23 04:32:16 +08:00
fix actions
This commit is contained in:
parent
28032c6607
commit
a855fe123a
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@ -63,10 +63,10 @@ jobs:
|
|||||||
- name: Run mdBook Build
|
- name: Run mdBook Build
|
||||||
run: |
|
run: |
|
||||||
mdbook build
|
mdbook build
|
||||||
mv html/* ./
|
mv book/html/* ./
|
||||||
mv "latex-pdf/Rust 程序设计语言 简体中文版.pdf" ./
|
mv "book/latex-pdf/Rust 程序设计语言 简体中文版.pdf" ./
|
||||||
rm -r html/
|
rm -r book/html/
|
||||||
rm -rf latex-pdf/
|
rm -rf book/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