nix-configs/.forgejo/workflows/update.yml

15 lines
376 B
YAML
Raw Normal View History

2024-04-24 17:48:45 -04:00
on:
2024-04-24 17:52:30 -04:00
push:
branches: 'master'
2024-04-24 17:48:45 -04:00
schedule:
- cron: '0 2 * * *'
jobs:
lockfile:
2024-04-24 18:20:00 -04:00
runs-on: docker
container.image: nixos/nix
2024-04-24 17:48:45 -04:00
steps:
- name: checkout
uses: actions/checkout@v4
- name: Update flake.lock
2024-04-24 18:18:30 -04:00
run: 'nix flake update; git add flake.lock; git commit -m "flake.lock: Update"; git push'