From b3c0ba463326b47cf84b414ec47b1ec326014c7e Mon Sep 17 00:00:00 2001 From: notohh Date: Sat, 21 Oct 2023 01:11:22 -0400 Subject: [PATCH] deploy: rollback test --- .forgejo/workflows/nix-flake-update.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .forgejo/workflows/nix-flake-update.yml diff --git a/.forgejo/workflows/nix-flake-update.yml b/.forgejo/workflows/nix-flake-update.yml new file mode 100644 index 0000000..20dd112 --- /dev/null +++ b/.forgejo/workflows/nix-flake-update.yml @@ -0,0 +1,24 @@ +name: nix flake update + +on: + schedule: + - cron: "0 4 1 * *" +jobs: + update: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: install nix action + uses: https://github.com/DeterminateSystems/nix-installer-action@v5 + with: + github-token: ${{ secrets.GH_TOKEN }} + - name: create branch + run: | + git branch update-flake-lock + git checkout update-flake-lock + - name: update flake.lock + run: nix flake update + - name: commit changes + run: git + +