caddy-with-modules/.github/workflows/cachix.yaml

36 lines
667 B
YAML
Raw Normal View History

2024-10-27 23:04:27 +05:30
name: Build and Push to Cachix
2024-09-14 15:55:07 +05:30
on:
push:
branches:
- main
2024-10-27 23:04:27 +05:30
workflow_run:
workflows: ['Update Inputs']
types: [completed]
branches:
- main
2024-09-14 15:55:07 +05:30
jobs:
publish:
name: Publish Flake
runs-on: ubuntu-latest
strategy:
matrix:
architecture: [x86_64, aarch64]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Install nix
uses: cachix/install-nix-action@V27
- name: Authenticate with Cachix
uses: cachix/cachix-action@v15
with:
name: adtya
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- name: Build nix flake
run: nix build -L .#caddy