Skip to content

Update link in About page to use relative URL for improved navigation… #10

Update link in About page to use relative URL for improved navigation…

Update link in About page to use relative URL for improved navigation… #10

name: Deploy Nordic MathML Guidelines to GitHub Pages
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.2'
bundler-cache: true
- name: Convert Guidelines Markdown to Jekyll Page
run: |
bash scripts/convert-guidelines.sh
- name: Build with Jekyll
run: |
bundle exec jekyll build --baseurl ""
env:
JEKYLL_ENV: production
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_site
deploy:
runs-on: ubuntu-latest
needs: build
if: github.ref == 'refs/heads/main'
steps:
- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4