22 lines
619 B
YAML
22 lines
619 B
YAML
name: Bump nix flake
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # Every 24 hours
|
|
|
|
env:
|
|
RUNNER_ARCH: X64
|
|
|
|
jobs:
|
|
bump:
|
|
runs-on: latest-debian
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v3
|
|
- name: Give name to workflow
|
|
run: git pull && git config --global user.email "forge@catnip.ee" && git config --global user.name "forge"
|
|
- name: Install nix
|
|
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
|
- name: Update flake
|
|
run: nix flake update --commit-lock-file
|
|
- name: Git push
|
|
run: git pull && git push
|