Skip to content

Try markdown_strict #10

Try markdown_strict

Try markdown_strict #10

Workflow file for this run

name: Build and Deploy to GitHub Pages
on:
# Trigger the workflow on push to doc branch only
push:
branches: [ pages ]
# Allow manual triggering from Actions tab
workflow_dispatch:
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: write
pages: write
id-token: write
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Pandoc and ImageMagick
run: |
sudo apt-get update
sudo apt-get install -y pandoc imagemagick
- name: Build site with make
run: make
- name: Upload artifacts
uses: actions/upload-pages-artifact@v3
with:
path: . # Upload the entire directory to ensure all assets are included
# Deploy job
deploy:
# Add a dependency to the build job
needs: build
# Grant GITHUB_TOKEN the permissions required to make a Pages deployment
permissions:
pages: write # to deploy to Pages
id-token: write # to verify the deployment originates from an appropriate source
# Deploy to the github-pages environment
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Specify runner + deployment step
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4 # Using the latest version