20 lines
490 B
YAML
20 lines
490 B
YAML
name: Update Flake
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '0 8 * * *'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
update-flake:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Install Nix
|
|
uses: DeterminateSystems/nix-installer-action@v4
|
|
- name: Run the Magic Nix Cache
|
|
uses: DeterminateSystems/magic-nix-cache-action@v1
|
|
- run: nix flake update
|
|
- uses: stefanzweifel/git-auto-commit-action@v4
|
|
with:
|
|
commit_message: "[automation] Update flake"
|