mirror of
https://github.com/dwinkler1/np.git
synced 2026-02-19 14:30:59 -05:00
Add GitHub Actions workflow for FlakeHub publishing
This commit is contained in:
parent
1cb3734520
commit
b17819929f
1 changed files with 22 additions and 0 deletions
22
.github/workflows/flakehub-publish-rolling.yml
vendored
Normal file
22
.github/workflows/flakehub-publish-rolling.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
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@v5"
|
||||
with:
|
||||
persist-credentials: false
|
||||
- uses: "DeterminateSystems/determinate-nix-action@v3"
|
||||
- uses: "DeterminateSystems/flakehub-push@main"
|
||||
with:
|
||||
name: "dwinkler1/np"
|
||||
rolling: true
|
||||
visibility: "public"
|
||||
include-output-paths: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue