12.nixvim/.github/workflows/flakestry-publish-rolling.yml
NAHO d73eb6f142 ci: enable stricter Bash error checking
Co-authored-by: Matt Sturgeon <matt@sturgeon.me.uk>
2025-11-20 23:22:53 +00:00

25 lines
579 B
YAML

name: Publish every git push to Flakestry
on:
push:
branches:
- main
workflow_dispatch:
inputs:
ref:
description: "The existing reference to publish"
type: "string"
required: true
defaults:
run:
shell: bash
jobs:
publish-flake:
if: github.event_name != 'push' || github.repository == 'nix-community/nixvim'
runs-on: ubuntu-latest
permissions:
id-token: "write"
contents: "read"
steps:
- uses: flakestry/flakestry-publish@main
with:
ref: "${{ inputs.ref || github.ref }}"