nixos/.gitea/workflows/update.yaml
Casper V. Kristensen 3ebd1ae2a4
Some checks failed
Update flake.lock / update (push) Failing after 2s
Replace Containerfile with Forgejo Actions
2024-03-30 02:09:57 +01:00

21 lines
611 B
YAML

name: Update flake.lock
on:
# https://forgejo.org/docs/latest/user/actions/#onschedule
schedule:
# - cron: "23 17 * * 1"
- cron: "*/1 * * * *"
jobs:
update:
runs-on: docker
container:
image: docker.io/nixos/nix:2.21.0
steps:
- run: |
git clone https://$GITHUB_ACTOR:$GITHUB_TOKEN@git.caspervk.net/caspervk/nixos.git
git config user.email "snowflake@caspervk.net"
git config user.name "snowflake"
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake update --commit-lock-file
git push