Skip to content

fix: allow horizontal scroll in code preview instead of clipping #15

fix: allow horizontal scroll in code preview instead of clipping

fix: allow horizontal scroll in code preview instead of clipping #15

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
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:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: '22'
cache: npm
- run: npm ci
- name: Build
run: npm run build
env:
# Base path matches the repo name so assets resolve correctly under
# https://JaneliaSciComp.github.io/<repo-name>/
ZIPGLANCER_BASE: /${{ github.event.repository.name }}/
- uses: actions/upload-pages-artifact@v5
with:
path: dist
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v5