This repository has been archived on 2025-06-21. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
YUNODO/.github/workflows/flakehub-publish-rolling.yml
2024-05-31 12:24:21 -04:00

24 lines
691 B
YAML

name: "Publish every Git push to main to FlakeHub"
on:
push:
branches:
- "main"
jobs:
flakehub-publish:
runs-on: "ubuntu-latest"
permissions:
id-token: "write"
contents: "read"
steps:
- uses: "actions/checkout@v3"
- uses: "DeterminateSystems/nix-installer-action@main"
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v4
- name: Build default package
run: nix build
- uses: "DeterminateSystems/flakehub-push@main"
with:
name: "specCon18/YUNODO"
rolling: true
visibility: "public"