This repository has been archived on 2026-11-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gullberg/.gitea/workflows/lint-and-reload.yml
T
blandClaude Fable 5.1 b3f92ffb9f
Deploy instance / deploy (push) Failing after 23s
lint-and-reload / lint (push) Successful in 2s
Portal 0.13.0: linten og utrullingen peker på den
Samme binær og samme pakke som før; bare versjonen flyttes. Utgivelsen
tar med betalingsflyten, `revokes:` på en tilstand, en lint som leser
feltnavnene slik portalen selv gjør, økter som varer, og portal-repoet
som et arbeidsområde.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L5fbDkR5YogvJGebPtogQT
2026-11-05 10:13:48 +01:00

23 lines
801 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/gullberg.git checkout
# The lint is portal itself, at the version this site runs
# (PORTAL_RELEASE in deploy.yml).
- name: lint
env:
PORTAL_RELEASE: v0.13.0
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
# Gullberg's own NATS, never the one the other sites share.
- name: reload
run: nats --server nats://127.0.0.1:4233 pub portal.content.reload ""