nixos-config/.forgejo/workflows/build.yaml

17 lines
597 B
YAML
Raw Normal View History

2024-07-19 19:00:35 +02:00
on: [push]
jobs:
build:
runs-on: native
steps:
2024-07-19 19:12:42 +02:00
- uses: actions/checkout@v4
2024-07-19 22:50:32 +02:00
- run: |
2024-07-20 00:06:40 +02:00
cat <<EOF > $PWD/id_rsa
2024-07-20 00:06:03 +02:00
${{ secrets.SSH_KEY }}
EOF
2024-07-20 00:12:12 +02:00
chmod 600 $PWD/id_rsa
2024-07-20 00:13:08 +02:00
NIX_SSHOPTS="-i $PWD/id_rsa" nix flake update
2024-07-19 21:55:40 +02:00
- run: nix build .#nixosConfigurations.orbi.config.system.build.toplevel
- run: nix build .#nixosConfigurations.cream.config.system.build.toplevel
- run: nix build .#nixosConfigurations.cherry.config.system.build.toplevel
- run: nix build .#nixosConfigurations.chungus.config.system.build.toplevel