Gateway buttons say where they go; lint-and-reload CI
lint-and-reload / lint (push) Successful in 1s
lint-and-reload / lint (push) Successful in 1s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Y42TyF8Zu7NGRR2893vNcZ
This commit is contained in:
@@ -0,0 +1,20 @@
|
|||||||
|
# Lint on the kasse host runner (the portal binary lives there), 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
|
||||||
|
- name: lint
|
||||||
|
run: |
|
||||||
|
/srv/app/westra-portal/current/question_lint --path checkout/questions
|
||||||
|
- name: reload
|
||||||
|
run: |
|
||||||
|
nats --server nats://127.0.0.1:4222 pub portal.content.reload ""
|
||||||
@@ -48,3 +48,4 @@ alternatives:
|
|||||||
description: >
|
description: >
|
||||||
Til forsiden.
|
Til forsiden.
|
||||||
action: /
|
action: /
|
||||||
|
consequence: [Tilbake]
|
||||||
|
|||||||
@@ -108,3 +108,4 @@ alternatives:
|
|||||||
description: >
|
description: >
|
||||||
Til forsiden.
|
Til forsiden.
|
||||||
action: /
|
action: /
|
||||||
|
consequence: [Tilbake]
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ alternatives:
|
|||||||
description: >
|
description: >
|
||||||
Fra sykehjem til offshore-moduler.
|
Fra sykehjem til offshore-moduler.
|
||||||
action: /prosjekter
|
action: /prosjekter
|
||||||
|
consequence: [Se prosjektene]
|
||||||
- name: Til forsiden
|
- name: Til forsiden
|
||||||
description: >
|
description: >
|
||||||
Der spørsmålet begynner.
|
Der spørsmålet begynner.
|
||||||
action: /
|
action: /
|
||||||
|
consequence: [Til forsiden]
|
||||||
|
|||||||
@@ -86,3 +86,4 @@ alternatives:
|
|||||||
description: >
|
description: >
|
||||||
Til forsiden.
|
Til forsiden.
|
||||||
action: /
|
action: /
|
||||||
|
consequence: [Tilbake]
|
||||||
|
|||||||
Reference in New Issue
Block a user