diff options
author | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-05 20:48:15 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <patryk@niedzwiedzinski.cyou> | 2024-10-05 20:48:15 +0200 |
commit | b260c2ec10bfb85b9e0ac87a4840815cd9a1b272 (patch) | |
tree | bbfd8210ba072ae81b3cf63c27fc5b3c9293c205 /.github/workflows/rebuild.yml | |
parent | 5aea19e5606f60302c087c1dcb1e76341a63a139 (diff) | |
parent | f391b4f4fe19651c3f66101b66f9794895fe72cd (diff) | |
download | dots-b260c2ec10bfb85b9e0ac87a4840815cd9a1b272.tar.gz dots-b260c2ec10bfb85b9e0ac87a4840815cd9a1b272.zip |
Merge branch 'master' of github.com:pniedzwiedzinski/dots
Diffstat (limited to '.github/workflows/rebuild.yml')
-rw-r--r-- | .github/workflows/rebuild.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/rebuild.yml b/.github/workflows/rebuild.yml new file mode 100644 index 0000000..2ccd017 --- /dev/null +++ b/.github/workflows/rebuild.yml @@ -0,0 +1,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 |