nixin-web/.forgejo/workflows/build-images.yaml

18 lines
450 B
YAML
Raw Normal View History

2024-09-30 14:27:50 +00:00
name: "build demo images"
on:
workflow_dispatch:
# push:
# branches:
# - release
2024-09-30 14:27:50 +00:00
jobs:
build:
name: Build NixOS images
runs-on: nixos
2024-09-30 14:27:50 +00:00
steps:
- name: install node
2024-09-30 15:57:06 +00:00
run: nix-env -iA nixpkgs.nodejs_20
2024-09-30 14:27:50 +00:00
- name: checkout repository
uses: actions/checkout@v4
- name: run generator
run: nix-shell -p nixos-generators --run "nixos-generate -c inventory/demo-configuration.nix -f proxmox-lxc"