Skip to content

fix: escape single quotes in page DESCRIBE output via mdlQuote() #30

fix: escape single quotes in page DESCRIBE output via mdlQuote()

fix: escape single quotes in page DESCRIBE output via mdlQuote() #30

Workflow file for this run

name: Deploy Documentation
on:
push:
branches: [main]
paths:
- 'docs-site/**'
- '.github/workflows/docs.yml'
pull_request:
branches: [main]
paths:
- 'docs-site/**'
- '.github/workflows/docs.yml'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install mdBook
run: |
MDBOOK_VERSION="0.5.2"
curl -sSL "https://github.com/rust-lang/mdBook/releases/download/v${MDBOOK_VERSION}/mdbook-v${MDBOOK_VERSION}-x86_64-unknown-linux-gnu.tar.gz" \
| tar -xz -C /usr/local/bin
- name: Build book
run: mdbook build docs-site
- name: Upload artifact
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
uses: actions/upload-pages-artifact@v3
with:
path: docs-site/book
deploy:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4