Files
questions/.gitea/workflows/lint-and-reload.yml
T
blandClaude Fable 5.1 d7ae41596f
claude-issue-bot.yml (push) Invalid workflow file
Deploy instance / deploy (push) Successful in 4s
lint-and-reload / lint (push) Successful in 2s
Portal v0.12.1
Fra v0.6.24, med eget navnerom på NATS (klingenberg_*).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
2026-11-03 17:28:30 +01:00

22 lines
752 B
YAML

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/klingenbergbygg/questions.git checkout
# The lint is portal itself (`portal lint`), at the version this
# site runs (PORTAL_RELEASE in deploy.yml).
- name: lint
env:
PORTAL_RELEASE: v0.12.1
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 ""