Skip to content

just some minor styling tweks #20

just some minor styling tweks

just some minor styling tweks #20

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
paths:
- "website/**"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./website
permissions:
contents: write
id-token: write
steps:
- name: Harden runner
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # ratchet:step-security/harden-runner@v2
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
github.com:443
objects.githubusercontent.com:443
registry.npmjs.org 443
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # ratchet:actions/checkout@v4
with:
persist-credentials: false
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # ratchet:actions/setup-node@v4
with:
node-version: 20
cache: npm
cache-dependency-path: './website/package-lock.json'
- run: npm ci
- run: npm run build -- --pathprefix "/kcd-oslo-2025/"
- name: Deploy
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # ratchet:peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/_site