Skip to content

Merge pull request #356 from hwomackToB/patch-2 #95

Merge pull request #356 from hwomackToB/patch-2

Merge pull request #356 from hwomackToB/patch-2 #95

Workflow file for this run

name: Deploy GH pages
on:
push:
branches:
- master
ignore-paths:
- "**.rs"
- "**.py"
- "**.sol"
workflow_dispatch:
jobs:
build:
permissions:
contents: read
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: true
- name: Install mdbook
run: |
cargo install --git https://github.com/montyly/mdBook.git mdbook || true
- name: Build artifacts
run: mdbook build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./book
deploy:
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4