Files
blandClaude Opus 5.5 93c6b6e6c5
Deploy test instance / deploy (push) Failing after 1s
lint-and-reload / lint (push) Failing after 1s
Test: portal.test.klingenbergbygg.no, nyeste portal og en egen NATS; søknad på pause
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
2026-09-30 20:11:30 +02:00

22 lines
852 B
YAML

name: lint-and-reload
on:
push:
branches: [test]
jobs:
lint:
runs-on: fish
steps:
- name: checkout
run: |
rm -rf checkout && git clone --depth 1 --branch test https://prosjekt.klingenbergbygg.no/klingenbergbygg/questions.git checkout
# The lint is portal itself, at the newest release: the one the
# test instance runs.
- name: lint
run: |
tag=$(curl -sf https://project.uhhm.no/api/v1/repos/uhhm/portal/releases/latest | jq -r .tag_name)
curl -sfL "https://project.uhhm.no/uhhm/portal/releases/download/$tag/portal-x86_64-linux" -o portal && chmod +x portal
./portal lint --path checkout/questions
# The test instance's own NATS, never production's.
- name: reload
run: nats --server nats://127.0.0.1:4232 pub portal.content.reload ""