nixos-config/.github/workflows/cachix.yml

22 lines
502 B
YAML
Raw Normal View History

2021-02-05 23:10:50 +01:00
name: "Build everything and push to cachix"
on:
2021-02-06 00:20:50 +01:00
workflow_dispatch:
schedule:
2021-02-09 21:08:55 +01:00
- cron: '0 */4 * * *'
2021-02-05 23:10:50 +01:00
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: cachix/install-nix-action@v12
with:
nix_path: nixpkgs=channel:nixos-20.09-small
- uses: cachix/cachix-action@v8
with:
name: alarsyo
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- run: nix-build ./overlays/build-me.nix