Files
nix-config/.github/workflows/cachix.yml
renovate[bot] 2c742d1ce3 Update cachix/install-nix-action action to v26 (#96)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-08 22:23:56 -05:00

26 lines
525 B
YAML

name: "Build and push to cachix"
on:
push:
branches:
- main
paths-ignore:
- '**/*.md'
- '*.md'
- 'LICENSE'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v14
with:
name: davegallant
authToken: '${{ secrets.CACHIX_API_KEY }}'
- run: nix-build | cachix push davegallant