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/deploy.yml
T
blandClaude Fable 5.1 05599c3a66
Deploy instance / deploy (push) Successful in 5s
lint-and-reload / lint (push) Successful in 2s
Portal v0.7.0, og en søkeboks på forsiden
0.7.0 tar med seg learn ved siden av portal. Søkeboksen viser seg bare
når learn og bge-m3 svarer på maskinen; til da ser siden ut som før.
Det som skrives i boksen lagres aldri.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_015TMMKWhj4225cSbXKhSz6e
2026-10-25 22:06:25 +01:00

29 lines
803 B
YAML

name: Deploy instance
# This content repo owns its portal instance: which portal version runs
# on kasse for gullberg.klingenbergbygg.no. PORTAL_RELEASE pins it, so
# every rollout is a commit, revertable by reverting it. Content-only
# changes go through lint-and-reload instead.
#
# The one root action the runner may take is
# /usr/local/bin/deploy-portal-instance, which checks the instance
# against a fixed list and the tag against a release-tag shape.
on:
workflow_dispatch:
push:
branches: [main]
paths:
- .gitea/workflows/deploy.yml
env:
PORTAL_RELEASE: v0.7.0
INSTANCE: gullberg-portal
jobs:
deploy:
runs-on: fish
steps:
- name: Ship the pinned release and restart
run: sudo /usr/local/bin/deploy-portal-instance "$INSTANCE" "$PORTAL_RELEASE"