nix-system/.forgejo/workflows/nix-inputs-update.yml
Antoine Vaure f6b132a920
Some checks failed
/ build-all (push) Has been cancelled
workflow: build before pushing the new branch
2025-10-30 15:00:01 +01:00

13 lines
545 B
YAML

name: "Update Flake Packages ❄️"
on:
workflow_dispatch:
jobs:
updateFlakePackages:
runs-on: native
steps:
- run: git clone -q -b $FORGEJO_REF_NAME https://forgejo:$GITHUB_TOKEN@git.antoinevaure.fr/$GITHUB_REPOSITORY .
- run: git checkout -b update-nix-inputs
- run: nix flake update
- run: git commit -a -m "Update flake inputs $(date +'%d/%m/%Y')" --author="Update flake worklow <dummy@domain.xyz>"
- run: nix build .#build-all
- run: git push --force --set-upstream origin update-nix-inputs