summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/update.yml23
1 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml
new file mode 100644
index 0000000..cdfec99
--- /dev/null
+++ b/.github/workflows/update.yml
@@ -0,0 +1,23 @@
+name: Update sha256
+
+on: [repository_dispatch]
+
+jobs:
+  update:
+    runs-on: ubuntu-latest
+    steps:
+      - name: Checkout repo
+        uses: actions/checkout@v2
+      - name: Installing Nix
+        uses: cachix/install-nix-action@v12
+
+      - name: update.sh
+        run: |
+          nix-shell -p nix-prefetch-git -c 'update.sh'
+      - name: Commit changes
+        uses: EndBug/add-and-commit@v7
+        with:
+          author_name: github-actions[bot]
+          author_email: 41898282+github-actions[bot]@users.noreply.github.com
+          message: '[🤖] Update kronika.json'
+          add: 'kronika.json'