Files
questions/.gitea/workflows/lint-and-reload.yml
T
blandClaude Fable 5.1 c43b7ae8f6
Deploy instance / deploy (push) Successful in 4s
lint-and-reload / lint (push) Successful in 2s
Portal v0.6.25: ikonene tilbake
Ikon-API-et svarer ikke lenger på prefix:navn.svg; v0.6.25 spør med
skråstrek, så kortenes ikoner kommer tilbake (og innrykket til venstre
for dem får igjen noe å stå ved).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-21 15:26:22 +02:00

27 lines
962 B
YAML

# Lint on the kasse host runner with the portal release this site runs, then
# nudge the running portal to refetch content over local NATS.
name: lint-and-reload
on:
push:
branches: [main]
jobs:
lint:
runs-on: fish
steps:
- name: checkout
run: |
rm -rf checkout && git clone --depth 1 https://prosjekt.klingenbergbygg.no/westra/questions.git checkout
# The lint is portal itself (`portal lint`), at the version this
# site runs (PORTAL_RELEASE in deploy.yml), so what passes here is
# what the running instance accepts.
- name: lint
env:
PORTAL_RELEASE: v0.6.25
run: |
curl -sfL "https://project.uhhm.no/uhhm/portal/releases/download/$PORTAL_RELEASE/portal-x86_64-linux" -o portal && chmod +x portal
./portal lint --path checkout/questions
- name: reload
run: |
nats --server nats://127.0.0.1:4222 pub portal.content.reload ""