summary refs log tree commit diff
path: root/.github/workflows/update.yml
blob: 5e3babc3d572a673f5b5a49fafe51dea04cea35d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Update sha256

on:
  repository_dispatch:
    types: [update]

jobs:
  update:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repo
        uses: actions/checkout@v2
      - name: Installing Nix
        uses: cachix/install-nix-action@v12
        with:
          nix_path: nixpkgs=channel:nixos-unstable

      - name: update.sh
        run: |
          nix-shell -p nix-prefetch-git --command './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'