From 64e587fba102b7bf10c3d7b9d901f0e61627ef04 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Tue, 30 Apr 2024 21:51:10 +0200 Subject: [PATCH] Add Forgejo action to bump Nix flake input in container-images --- .forgejo/workflows/push.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .forgejo/workflows/push.yaml diff --git a/.forgejo/workflows/push.yaml b/.forgejo/workflows/push.yaml new file mode 100644 index 0000000..2760781 --- /dev/null +++ b/.forgejo/workflows/push.yaml @@ -0,0 +1,16 @@ +on: [ push ] +jobs: + blog-pim: + runs-on: docker + container: + image: git.kun.is/home/forgejo-nix-action:687d16c49ea7936068bac64ec68c480a9d681962 + steps: + - name: Clone container-images repository + run: git clone ${GITHUB_SERVER_URL}/home/container-images.git container-images + - name: Update Nix input on container-images + run: nix flake lock --update-input blog-pim ./container-images + - name: Push changes to container-images repo + run: | + git container-images/.git --work-tree container-images add -A + git container-images/.git --work-tree container-images commit --message "Bump blog-pim Nix flake input" + git container-images/.git --work-tree container-images push