refactor: move images into deploy-static-site, root CI workflow
Some checks failed
Build and Push static-server Image / build (push) Failing after 46s
Some checks failed
Build and Push static-server Image / build (push) Failing after 46s
- 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>
This commit is contained in:
parent
55652569b2
commit
f0b9c9b904
2 changed files with 4 additions and 4 deletions
|
|
@ -1,20 +1,20 @@
|
||||||
name: Build and Push Images
|
name: Build and Push static-server Image
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
paths:
|
paths:
|
||||||
- 'images/flake.nix'
|
- 'deploy-static-site/images/flake.nix'
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-static-server:
|
build:
|
||||||
runs-on: nix
|
runs-on: nix
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Build static-server image
|
- name: Build static-server image
|
||||||
run: nix build ./images#staticServer --out-link result-static-server
|
run: nix build ./deploy-static-site/images#staticServer --out-link result-static-server
|
||||||
|
|
||||||
- name: Push to registry
|
- name: Push to registry
|
||||||
run: |
|
run: |
|
||||||
Loading…
Add table
Reference in a new issue