mirror of
https://github.com/NotAShelf/nyxexprs.git
synced 2024-11-26 23:26:44 +00:00
32 lines
654 B
YAML
32 lines
654 B
YAML
name: Update flake
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * 0" # weekly
|
|
|
|
jobs:
|
|
update:
|
|
if: github.repository == 'notashelf/nyxpkgs'
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- uses: DeterminateSystems/nix-installer-action@main
|
|
|
|
- uses: cachix/cachix-action@v12
|
|
with:
|
|
name: nyxpkgs
|
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
|
|
|
- run: nix flake update
|
|
|
|
- uses: stefanzweifel/git-auto-commit-action@v5
|
|
with:
|
|
commit_message: "Update flake"
|
|
|
|
build:
|
|
needs: update
|
|
uses: ./.github/workflows/build.yml
|
|
secrets: inherit
|