Add FlakeHub publish Action

This commit is contained in:
Luc Perkins 2023-09-18 14:15:22 +03:00
parent 35bb57c0c8
commit 92556b8539
No known key found for this signature in database
GPG key ID: CED8419FB058467A

View file

@ -0,0 +1,20 @@
name: "Publish to 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: "edolstra/flake-compat"
rolling: true
visibility: "public"