Skip to content

wiki add mdbook-katex #6

wiki add mdbook-katex

wiki add mdbook-katex #6

Workflow file for this run

name: Deploy mdBook to GCS
on:
push:
branches:
- main
- jolt
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: 'auth'
uses: 'google-github-actions/auth@v2'
with:
credentials_json: '${{ secrets.GCP_SA_KEY}}'
- name: Set up Cloud SDK
uses: google-github-actions/setup-gcloud@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: '0.4.10'
- name: Install mdbook-katex
uses: actions-rust-lang/setup-rust-toolchain@v1
run: cargo install mdbook-katex
- run: mdbook build ./book
- name: Deploy to Google Cloud Storage
run: gsutil -m rsync -d -r ./book/book gs://${{ secrets.GCS_BUCKET_NAME }}