diff --git a/.gitea/workflows/Build Framework.yaml b/.gitea/workflows/Build Framework.yaml index 36048b7..8005ea2 100644 --- a/.gitea/workflows/Build Framework.yaml +++ b/.gitea/workflows/Build Framework.yaml @@ -2,23 +2,21 @@ name: Bump Flake on: workflow_dispatch: - schedule: - - cron: "0 3 1 * *" # At 3 on the first day of the month (Monday) + schedule: + - cron: "0 0 1 * *" # At midnight on the first day of the month (Monday) - jobs: - bump: - runs-on: ubuntu-latest + jobs: + bump: + runs-on: ubuntu-latest + steps: + - name: Install nix + uses: DeterminateSystems/nix-installer-action@main - steps: - - name: Install nix - uses: DeterminateSystems/nix-installer-action@main + - name: Checkout + uses: actions/checkout@v4 - - name: Checkout - uses: actions/checkout@v4 - - - - name: Build bumped flake (only one host) - run: nix build .\#nixosConfigurations.FW16.config.system.build.toplevel - - - name: Check bumped flake - run: nix flake check + - 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 \ No newline at end of file