nixos-conf/.forgejo/workflows/flake-lock-update.yaml

12 lines
482 B
YAML
Raw Normal View History

on: [push]
jobs:
flake-lock-update:
runs-on: nixos-latest
steps:
- run: nix --experimental-features 'nix-command flakes' profile install nixpkgs#nodejs-slim
- uses: https://code.forgejo.org/actions/checkout@v4
- run: |
git config --global user.name "Vili Sinervä"
git config --global user.email "vili.m.sinerva@gmail.com"
- run: nix --experimental-features 'nix-command flakes' flake update --commit-lock-file
- run: git push