Skip to content

Merge pull request #207 from jim60105/ch18.3-fix-missing-translation #335

Merge pull request #207 from jim60105/ch18.3-fix-missing-translation

Merge pull request #207 from jim60105/ch18.3-fix-missing-translation #335

Workflow file for this run

name: Rust Book
on:
push:
branches:
- zh_tw
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install mdbook
run: |
mkdir mdbook
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
echo `pwd`/mdbook >> $GITHUB_PATH
- name: Generate book
run: mdbook build
# HTML publication as Github Page
- name: Publish HTML
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./book