mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
22 lines
546 B
YAML
22 lines
546 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
|
|
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 }}"
|