change token path and add workflow file
Some checks failed
Activate NixOS Configuration On Push / deploy (push) Failing after 13s
Some checks failed
Activate NixOS Configuration On Push / deploy (push) Failing after 13s
This commit is contained in:
parent
6d46ec1d54
commit
b1406939d2
2 changed files with 14 additions and 1 deletions
13
.forgejo/workflows/activate.yml
Normal file
13
.forgejo/workflows/activate.yml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
name: Activate NixOS Configuration On Push
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: nixos-server
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
- name: Build and activate system
|
||||
run: sudo nixos-rebuild switch --flake .#homelab
|
||||
Loading…
Add table
Add a link
Reference in a new issue