Skip to content

Commit

Permalink
Deploy to flakestry
Browse files Browse the repository at this point in the history
  • Loading branch information
sestrella committed Nov 28, 2023
1 parent 5d9a840 commit 7041083
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ concurrency:

jobs:
test:
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: Publish

on:
push:
tags: ["v[0-9]+.[0-9]+.[0-9]+"]
workflow_dispatch:
inputs:
tag:
description: The existing tag to publish
type: string
required: true
on: push
# push:
# tags: ["v[0-9]+.[0-9]+.[0-9]+"]
# workflow_dispatch:
# inputs:
# tag:
# description: The existing tag to publish
# type: string
# required: true

concurrency:
group: publish
Expand All @@ -21,6 +21,7 @@ permissions:
jobs:
# https://flakehub.com/new
flakehub:
if: false
runs-on: ubuntu-latest
steps:
- name: Checkout code
Expand All @@ -37,8 +38,13 @@ jobs:
# https://flakestry.dev/publish
flakestry:
runs-on: ubuntu-latest
strategy:
matrix:
version:
- v1.0.0
fail-fast: true
steps:
- name: Publish flake
uses: flakestry/flakestry-publish@main
with:
version: ${{ inputs.tag || github.ref_name }}
version: ${{ matrix.version }}

0 comments on commit 7041083

Please sign in to comment.