Skip to content

Commit

Permalink
Revert "Delete .github/workflows/flakestry.yaml"
Browse files Browse the repository at this point in the history
This reverts commit fd60f6b.
  • Loading branch information
srid committed Sep 26, 2023
1 parent fd60f6b commit 63a1608
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/flakestry.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Publish a flake to flakestry"
on:
push:
tags:
- "v?[0-9]+.[0-9]+.[0-9]+"
- "v?[0-9]+.[0-9]+"
workflow_dispatch:
inputs:
tag:
description: "The existing tag 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:
version: "${{ inputs.tag || github.ref_name }}"
url: "https://staging.flakestry.dev"

0 comments on commit 63a1608

Please sign in to comment.