Skip to content

Make font configurable, improve asset handling and use basic frontend… #360

Make font configurable, improve asset handling and use basic frontend…

Make font configurable, improve asset handling and use basic frontend… #360

Workflow file for this run

name: Deploy docs
on:
push:
branches: ["master"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: deploy-docs
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
# We need to fetch all tags to build versioned docs
fetch-depth: 0
- name: Retrieve old versions of docs
run: ./util/scripts/build-versioned-docs.sh
- run: npm ci
working-directory: docs
- name: Build documentation
run: npm run build
working-directory: docs
- name: Disable Jykell
run: touch docs/build/.nojekyll
- name: Upload built documentation as artifact
uses: actions/upload-pages-artifact@v1
with:
path: docs/build/
deploy:
needs: build
runs-on: ubuntu-20.04
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1