mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-03-23 20:08:28 +01:00
Compare commits
4 commits
a0b966ed42
...
ea3d52755a
| Author | SHA1 | Date | |
|---|---|---|---|
| ea3d52755a | |||
| c749ff4116 | |||
| a1a462fc8c | |||
| f45a39b189 |
2 changed files with 22 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
name: "CI"
|
name: "Check & Deploy"
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
|
|
@ -14,7 +14,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: sebastian-stork
|
name: sebastian-stork
|
||||||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
|
||||||
- run: nix flake check
|
- run: nix flake check --print-build-logs
|
||||||
deploy:
|
deploy:
|
||||||
needs: check
|
needs: check
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
20
.github/workflows/update.yml
vendored
Normal file
20
.github/workflows/update.yml
vendored
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
name: "Update"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: "0 4 * * 1,3,6" # Mon, Wed, Sat at 04:00 UTC
|
||||||
|
workflow_dispatch:
|
||||||
|
jobs:
|
||||||
|
update:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v5
|
||||||
|
- uses: cachix/install-nix-action@v31
|
||||||
|
with:
|
||||||
|
extra_nix_config: experimental-features = nix-command flakes pipe-operators
|
||||||
|
- run: |
|
||||||
|
git config user.name "github-actions[bot]"
|
||||||
|
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
|
||||||
|
nix flake update --commit-lock-file
|
||||||
|
git push
|
||||||
Loading…
Add table
Add a link
Reference in a new issue