github: add flakehub workflow

This commit is contained in:
Aly Raffauf 2024-07-14 16:45:00 -04:00
parent 5b1fbb5030
commit ec6db50220
2 changed files with 21 additions and 1 deletions

View file

@ -1,4 +1,4 @@
name: "update-flake-inputs"
name: "inputs"
on:
schedule:
- cron: "0 0 * * 0"

View file

@ -0,0 +1,20 @@
name: "flakehub"
on:
push:
branches:
- "master"
jobs:
flakehub-publish:
runs-on: "ubuntu-latest"
permissions:
id-token: "write"
contents: "read"
steps:
- uses: "actions/checkout@v3"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: "DeterminateSystems/flakehub-push@main"
with:
name: "alyraffauf/nixcfg"
rolling: true
visibility: "public"
include-output-paths: true