summary refs log tree commit diff
path: root/.github/workflows/update.yml
blob: cdfec9967b744cd74e8c51345e9378b723f804d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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'