nixos-config/.github/workflows/update.yml
dependabot[bot] c5021a5b87 Bump stefanzweifel/git-auto-commit-action from 4.13.1 to 4.14.0
Bumps [stefanzweifel/git-auto-commit-action](https://github.com/stefanzweifel/git-auto-commit-action) from 4.13.1 to 4.14.0.
- [Release notes](https://github.com/stefanzweifel/git-auto-commit-action/releases)
- [Changelog](https://github.com/stefanzweifel/git-auto-commit-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/stefanzweifel/git-auto-commit-action/compare/v4.13.1...v4.14.0)

---
updated-dependencies:
- dependency-name: stefanzweifel/git-auto-commit-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-03-21 09:09:20 +01:00

32 lines
1.5 KiB
YAML

name: Update
on:
schedule:
- cron: '30 */2 * * *'
workflow_dispatch:
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: cachix/install-nix-action@v16
- name: Cachix
uses: cachix/cachix-action@v10
with:
name: chvp
extraPullNames: "nix-community,accentor"
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
skipPush: true
- run: nix flake update
- run: nix build -L --no-link .#nixosConfigurations.lasting-integrity.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.lasting-integrity.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
- run: nix build -L --no-link .#nixosConfigurations.urithiru.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.urithiru.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
- run: nix build -L --no-link .#nixosConfigurations.kharbranth.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.kharbranth.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
- run: nix build -L --no-link .#nixosConfigurations.kholinar.config.system.build.toplevel
- run: nix eval --json ".#nixosConfigurations.kholinar.config.system.build.toplevel.outPath" | sed 's/"\(.*\)"/\1/' | cachix push chvp
- uses: stefanzweifel/git-auto-commit-action@v4.14.0
with:
commit_message: "Update dependencies"