Drop the container pipeline: the servers serve the flake
All checks were successful
CI / check (push) Successful in 7s
All checks were successful
CI / check (push) Successful in 7s
asxpio-services serves the site from this flake (services.blog), and Traefik no longer routes to the container. The Dockerfile, nginx.conf, docker-compose.yml and the Kaniko and deploy jobs go; CI builds the package on every push, main included. Assisted-by: Claude:opus-5-5
This commit is contained in:
parent
bbd489cc1d
commit
5ff625feaa
1 changed files with 5 additions and 176 deletions
30
.forgejo/workflows/ci.yaml
Normal file
30
.forgejo/workflows/ci.yaml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
name: CI
|
||||
|
||||
# Every push builds the site as the servers will (the flake's package).
|
||||
# Deploying is not this repository's job: Renovate in asxpi/iac picks up
|
||||
# each push to main and the servers pull it (comin).
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: nix-latest
|
||||
# Settings via env, not /etc/nix/nix.conf: in the image that is a
|
||||
# symlink into /nix/store, which the runner's nix-store volume
|
||||
# shadows, so it dangles once the image moves on.
|
||||
env:
|
||||
NIX_CONFIG: |
|
||||
experimental-features = nix-command flakes
|
||||
build-users-group =
|
||||
sandbox = false
|
||||
steps:
|
||||
- name: Prepare container for actions
|
||||
run: |
|
||||
nix-env -iA nixpkgs.nodejs_22
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v7.0.1
|
||||
|
||||
- name: Build site (the package nginx serves)
|
||||
run: nix build .#default
|
||||
Loading…
Reference in a new issue