initial commit
Some checks failed
Deploy configs / deploy-configs (push) Failing after 11s

This commit is contained in:
sid 2026-02-23 20:53:29 +01:00
commit 7d364cdfac
69 changed files with 5268 additions and 0 deletions

View file

@ -0,0 +1,22 @@
name: Build hosts
on:
pull_request:
branches:
- master
jobs:
build-hosts:
runs-on: runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Build rx4
run: nix build .#nixosConfigurations.rx4.config.system.build.toplevel --impure
- name: Build sid
run: nix build .#nixosConfigurations.sid.config.system.build.toplevel --impure
- name: Build vde
run: nix build .#nixosConfigurations.vde.config.system.build.toplevel --impure

View file

@ -0,0 +1,28 @@
name: Deploy configs
on:
push:
branches:
- master
jobs:
deploy-configs:
runs-on: runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up SSH
env:
DEPLOY_KEY: ${{ secrets.DEPLOY_SSH_KEY }}
run: |
echo "$DEPLOY_KEY" > ssh_deploy_key
chmod 600 ssh_deploy_key
cat <<EOF > ssh_config
Host *
IdentityFile $(pwd)/ssh_deploy_key
EOF
- name: Deploy configs
run: deploy . --skip-checks

View file

@ -0,0 +1,13 @@
name: Flake check
on: [pull_request]
jobs:
flake-check:
runs-on: runner
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Run flake check
run: nix flake check --impure