about summary refs log tree commit diff
path: root/.github/workflows/rebuild.yml
blob: 2ccd01707fdc5d313d6760babbd43b40d1e4f5b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
name: "Rebuild system"

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

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

      - name: "Install Nix ❄️"
        uses: cachix/install-nix-action@v30
 
      - name: Cachix
        uses: cachix/cachix-action@v15
        with:
          name: pn
          authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'

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