ci-actions/.forgejo/workflows/build-static-server.yaml
Christopher Mühl f0b9c9b904
Some checks failed
Build and Push static-server Image / build (push) Failing after 46s
refactor: move images into deploy-static-site, root CI workflow
- deploy-static-site/images/flake.nix: moved from images/flake.nix
- .forgejo/workflows/build-static-server.yaml: moved from images/.forgejo/
  (Forgejo only picks up workflows from repo root .forgejo/workflows/)
- updated path reference in build workflow

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-02-18 11:39:19 +01:00

23 lines
578 B
YAML

name: Build and Push static-server Image
on:
push:
branches: [main]
paths:
- 'deploy-static-site/images/flake.nix'
workflow_dispatch:
jobs:
build:
runs-on: nix
steps:
- uses: actions/checkout@v4
- name: Build static-server image
run: nix build ./deploy-static-site/images#staticServer --out-link result-static-server
- name: Push to registry
run: |
nix shell nixpkgs#skopeo -c skopeo copy \
docker-archive:./result-static-server \
docker://registry.toph.so/static-server:latest