diff --git a/.github/workflows/weekly-build-cache.yml b/.github/workflows/weekly-build-cache.yml index e4365b2..9a437e3 100644 --- a/.github/workflows/weekly-build-cache.yml +++ b/.github/workflows/weekly-build-cache.yml @@ -2,8 +2,7 @@ name: Weekly NixOS Build & Cache on: schedule: - # Run every Sunday at 2 AM UTC - - cron: "0 2 * * 0" + - cron: "30 09 * * 1,5" workflow_dispatch: # Allow manual trigger jobs: @@ -53,12 +52,6 @@ jobs: echo "Building server configuration..." nix build .#nixosConfigurations.server.config.system.build.toplevel --quiet - - name: Build emacs-vm - if: steps.check_changes.outputs.changes == 'true' - run: | - echo "Building emacs-vm..." - nix build .#emacs-vm --quiet - - name: Push to cache if: steps.check_changes.outputs.changes == 'true' run: | @@ -71,7 +64,6 @@ jobs: # Push the specific system derivations we just built nix build .#nixosConfigurations.workstation.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin nix build .#nixosConfigurations.server.config.system.build.toplevel --print-out-paths | attic push servidos:nixos --stdin - nix build .#emacs-vm --print-out-paths | attic push servidos:nixos --stdin - name: Commit updated flake.lock if: steps.check_changes.outputs.changes == 'true' @@ -92,7 +84,7 @@ jobs: if [[ "${{ steps.check_changes.outputs.changes }}" == "true" ]]; then echo "✅ Weekly build completed successfully!" echo "- Updated flake.lock" - echo "- Built workstation, server, and emacs-vm configurations" + echo "- Built workstation and server configurations" echo "- Pushed builds to Atticd cache" echo "- Committed changes and created release tag" else