Skip to content

Commit

Permalink
wip: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Sep 23, 2024
1 parent dcc86d5 commit c55e89e
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
21 changes: 21 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: build nixos hosts

on:
push:
branches:
- ci

permissions:
contents: write

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v14
- uses: DeterminateSystems/magic-nix-cache-action@v8
- uses: DeterminateSystems/flake-checker-action@v9

- name: Build NixOS hosts
run: nix develop -c colmena build
1 change: 0 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@
(host: modules: {
imports = commonModules ++ modules;
deployment.targetHost = "${host}.ocf.berkeley.edu";
deployment.buildOnTarget = true;
deployment.targetUser = "root";
deployment.allowLocalDeployment = true;
})
Expand Down

0 comments on commit c55e89e

Please sign in to comment.