mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
20 lines
535 B
YAML
20 lines
535 B
YAML
name: "Publish every Git push to main to FlakeHub"
|
|
on:
|
|
push:
|
|
branches:
|
|
- "main"
|
|
jobs:
|
|
flakehub-publish:
|
|
if: github.repository == 'nix-community/nixvim'
|
|
runs-on: "ubuntu-latest"
|
|
permissions:
|
|
id-token: "write"
|
|
contents: "read"
|
|
steps:
|
|
- uses: "actions/checkout@v4"
|
|
- uses: "DeterminateSystems/nix-installer-action@main"
|
|
- uses: "DeterminateSystems/flakehub-push@main"
|
|
with:
|
|
name: ${{ github.repository }}
|
|
rolling: true
|
|
visibility: "public"
|