Publish to FlakeHub
This commit is contained in:
parent
18f457e56e
commit
5d8b7417db
21
.github/workflows/flakehub.yaml
vendored
Normal file
21
.github/workflows/flakehub.yaml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
name: "Publish every Git push to main to FlakeHub"
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- "main"
|
||||||
|
|
||||||
|
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: "DeterminateSystems/magic-nix-cache"
|
||||||
|
rolling: true
|
||||||
|
visibility: "public"
|
Loading…
Reference in a new issue