## Description <!-- Please insert your description here and especially provide info about the "what" this PR is solving --> It has no effect. The actions are run in parallel anyway. They have been previously updated to not fail when run in parallel. ## Linked Issues <!-- Optional, if you have any --> ## Additional Context <!-- e.g. is there anything you'd like reviewers to focus on? -->
44 lines
1.0 KiB
YAML
44 lines
1.0 KiB
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
|
|
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
# Why?
|
|
#
|
|
# failed to
|
|
# $ nix build .#airi-pnpm-deps
|
|
# > airi-pnpm-deps> Running phase: fixupPhase
|
|
# > error: writing to file: No space left on device
|
|
- name: Free Disk Space
|
|
uses: jlumbroso/free-disk-space@main
|
|
|
|
- uses: actions/checkout@v6
|
|
|
|
- uses: cachix/install-nix-action@v31
|
|
with:
|
|
extra_nix_config: experimental-features = nix-command flakes
|
|
|
|
- name: Update Hash
|
|
run: nix/update-assets-hash.sh
|
|
|
|
- name: Pull with rebase
|
|
run: git pull --rebase --autostash
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v7
|
|
with:
|
|
commit_message: 'chore(nix): update assets hash'
|
|
commit_author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
|