mirror of
https://github.com/moeru-ai/airi.git
synced 2026-04-28 14:39:37 +00:00
34 lines
750 B
YAML
34 lines
750 B
YAML
name: Update Nix assets Hash
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- 'apps/stage-web/package.json'
|
|
- 'apps/stage-web/vite.config.ts'
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
concurrency:
|
|
group: nix-update
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v5
|
|
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: experimental-features = nix-command flakes
|
|
|
|
- name: Update Hash
|
|
run: nix/update-assets-hash.sh
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v6
|
|
with:
|
|
commit_message: 'chore(nix): update assets hash'
|
|
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|