ci: add workflow dispatch trigger

This commit is contained in:
ooks-io 2025-01-19 12:29:20 +11:00
parent 07caf5671d
commit b48c99ab6f
2 changed files with 4 additions and 0 deletions

View file

@ -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/**

View file

@ -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