From 142dec771086176739c0e3022e8cdd2a30e622f0 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Tue, 19 Jan 2021 21:29:35 +0100 Subject: Add update workflow --- .github/workflows/update.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/update.yml 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' -- cgit 1.4.1