Add cleanup
deploy config / Explore-Gitea-Actions (push) Successful in 32s Details

This commit is contained in:
Tom 2024-08-09 23:34:03 +02:00
parent 243188cf9a
commit 0f4ac0e508
1 changed files with 8 additions and 3 deletions

View File

@ -6,6 +6,11 @@ jobs:
Explore-Gitea-Actions: Explore-Gitea-Actions:
runs-on: play runs-on: play
steps: steps:
- run: whoami - name: Test
- run: cd /etc/nixos && git pull run: whoami
- run: nixos-rebuild switch - name: get latest git revision
run: cd /etc/nixos && git pull
- name: Activate config
run: nixos-rebuild switch
- name: cleanup nix store
run: nix-store --gc