Skip to content

Commit

Permalink
Add auto rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
pniedzwiedzinski authored Oct 4, 2024
1 parent b747582 commit 46c589d
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: "Rebuild system"

on:
schedule:
- cron: "0 8 * * 0"

jobs:
fetcher:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v18
with:
extra_nix_config: |
substituters = https://pn.cachix.org/ https://cache.nixos.org/
trusted-public-keys = pn.cachix.org-1:KC0hqPVkcs7WUSv8xCkUNzrpDVKYh8TwZIqvhASvbJM= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
- name: Cachix
uses: cachix/cachix-action@v15
with:
name: pn

- name: "Build"
id: fetcher
run: nix build .#nixosConfigurations.t14

0 comments on commit 46c589d

Please sign in to comment.