Skip to content

Commit

Permalink
chore: add flakestry publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
oddlama committed Apr 3, 2024
1 parent f0bba78 commit 6511866
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: ['oddlama']
21 changes: 21 additions & 0 deletions .github/workflows/flakestry-publish-rolling.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: "Publish a flake to flakestry"
on:
push:
branches:
- main
workflow_dispatch:
inputs:
ref:
description: "The existing reference to publish"
type: "string"
required: true
jobs:
publish-flake:
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: flakestry/flakestry-publish@main
with:
ref: "${{ inputs.ref || github.ref }}"

0 comments on commit 6511866

Please sign in to comment.