helix-mirror/.github/workflows/cachix.yml

27 lines
516 B
YAML
Raw Normal View History

# Publish the Nix flake outputs to Cachix
name: Cachix
on:
2022-03-02 06:18:29 +04:00
push:
branches:
- master
jobs:
publish:
name: Publish Flake
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@v26
- name: Authenticate with Cachix
uses: cachix/cachix-action@v14
with:
name: helix
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build nix flake
run: nix build -L