This commit is contained in:
commit
7d364cdfac
69 changed files with 5268 additions and 0 deletions
22
.forgejo/workflows/build-hosts.yml
Normal file
22
.forgejo/workflows/build-hosts.yml
Normal 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
|
||||
28
.forgejo/workflows/deploy-configs.yml
Normal file
28
.forgejo/workflows/deploy-configs.yml
Normal 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
|
||||
13
.forgejo/workflows/flake-check.yml
Normal file
13
.forgejo/workflows/flake-check.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue