Skip to content

Commit

Permalink
Add minimal CI config and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ajhalili2006 committed Dec 29, 2024
1 parent c4b2943 commit 55358b7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/update-flakes.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: nix flake update
on:
schedule:
- cron: "30 0 * * *"
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Nix
uses: cachix/install-nix-action@v14
with:
nix_path: nixpkgs=channel:nixos-unstable

- name: Update flake
run: nix flake update

- name: Commit and push changes
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add flake.lock
git commit -m "Update flake.lock" || echo "No changes to commit"
git push
1 change: 1 addition & 0 deletions .wakatime-project
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@andreijiroh-dev/nixops-config

0 comments on commit 55358b7

Please sign in to comment.