diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-10-05 21:42:16 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-10-05 21:42:16 +0200 |
commit | 91432241065a8881bd1bc67c98d00618b85a05f5 (patch) | |
tree | 2d35e944306ea47f270cb74c7b7ed344b14cc6f6 /.github/workflows/rebuild.yml | |
parent | 814fd0406dc2ead70c4aa075367ebdc3fd579589 (diff) | |
parent | 146b495e3e0069f2e329b3075a7367b0d954ead8 (diff) | |
download | dots-91432241065a8881bd1bc67c98d00618b85a05f5.tar.gz dots-91432241065a8881bd1bc67c98d00618b85a05f5.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 |