diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 21:29:35 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2021-01-19 21:29:35 +0100 |
commit | 142dec771086176739c0e3022e8cdd2a30e622f0 (patch) | |
tree | d855ce8e7151b07edd6471961972bc7c0292bc31 | |
parent | 01a00bfde2a07713403d6b085ef6aeb748cb1d43 (diff) | |
download | low-puszcza-142dec771086176739c0e3022e8cdd2a30e622f0.tar.gz low-puszcza-142dec771086176739c0e3022e8cdd2a30e622f0.zip |
Add update workflow
-rw-r--r-- | .github/workflows/update.yml | 23 |
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' |