29 lines
1.2 KiB
YAML
29 lines
1.2 KiB
YAML
name: Build Flake
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "0 0 1 * *" # At midnight on the first day of the month (Monday)
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Install nix
|
|
uses: DeterminateSystems/nix-installer-action@main
|
|
with:
|
|
extra-conf: |
|
|
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs= hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc= nix-citizen.cachix.org-1:lPMkWc2X8XD4/7YPEEwXKKBg+SVbYTVrAaLA2wQTKCo=
|
|
trusted-substituters = https://cache.nixos.org https://nix-community.cachix.org https://hyprland.cachix.org https://nix-citizen.cachix.org
|
|
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Build bumped flake (only one host)
|
|
run: |
|
|
nix build .#nixosConfigurations.FW16.config.system.build.toplevel
|
|
|
|
- name: Notify Success
|
|
run: |
|
|
curl -H "Title: Successfully builded flake!" -d "Builded Framework flake" https://ntfy.alexdelcamp.fr/FlakeBuild |