Skip to content

Merge pull request #181 from sine-fdn/fix-website-styles #18

Merge pull request #181 from sine-fdn/fix-website-styles

Merge pull request #181 from sine-fdn/fix-website-styles #18

Workflow file for this run

name: Mdbook Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write # To push a branch
pages: write # To push to a GitHub Pages site
id-token: write # To update the deployment status
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install mdbook
run: cargo install --version 0.4.47 mdbook
- name: Build Book
run: |
cd garble_docs && mdbook build
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: "garble_docs/book"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4