ci: add workflow dispatch trigger
This commit is contained in:
parent
07caf5671d
commit
b48c99ab6f
2 changed files with 4 additions and 0 deletions
1
.github/workflows/cachix.yaml
vendored
1
.github/workflows/cachix.yaml
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
name: "Build packages and push to cache"
|
name: "Build packages and push to cache"
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
paths:
|
paths:
|
||||||
- outputs/pkgs/**
|
- outputs/pkgs/**
|
||||||
|
|
|
||||||
3
.github/workflows/check.yaml
vendored
3
.github/workflows/check.yaml
vendored
|
|
@ -1,5 +1,6 @@
|
||||||
name: "Nix Flake Check"
|
name: "Nix Flake Check"
|
||||||
on:
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
@ -16,6 +17,8 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
- name: Configure git
|
||||||
|
uses: git config --global url."https://github.com/".insteadOf "git@github.com:"
|
||||||
- name: Setup Nix
|
- name: Setup Nix
|
||||||
uses: DeterminateSystems/nix-installer-action@main
|
uses: DeterminateSystems/nix-installer-action@main
|
||||||
- name: Magic Nix Cache
|
- name: Magic Nix Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue