# 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 ""