From 4bb9be86c413bdfcb4bb0d27b2113e7995c3d471 Mon Sep 17 00:00:00 2001 From: satr14 Date: Wed, 17 Jun 2026 19:02:05 +0700 Subject: [PATCH] syntax fix and success notif --- .forgejo/workflows/activate.yml | 9 +++++++++ modules/system/homelab/dash.nix | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/.forgejo/workflows/activate.yml b/.forgejo/workflows/activate.yml index 456285f..f338572 100644 --- a/.forgejo/workflows/activate.yml +++ b/.forgejo/workflows/activate.yml @@ -37,6 +37,15 @@ jobs: -H "Actions: view, Action Runs, https://git.satr14.my.id/${{ github.repository }}/actions?workflow=activate.yml; view, View Commit, https://git.satr14.my.id/${{ github.repository }}/commit/${{ github.sha }}" \ -d "${{ github.event.head_commit.message }}" + - name: Notify on success + if: success() + run: | + curl -s -X POST https://notify.proxy.satr14.my.id/git-flake-updates \ + -H "Title: NixOS Homelab Rebuild Succeeded" \ + -H "Tags: white_check_mark" \ + -H "Actions: view, View Commit, https://git.satr14.my.id/${{ github.repository }}/commit/${{ github.sha }}" \ + -d "${{ github.event.head_commit.message }}" + - name: Clean Up if: always() run: rm -f ./ssh/deploy_key \ No newline at end of file diff --git a/modules/system/homelab/dash.nix b/modules/system/homelab/dash.nix index d8972a0..c6c14bb 100644 --- a/modules/system/homelab/dash.nix +++ b/modules/system/homelab/dash.nix @@ -1,4 +1,4 @@ -{ timezone, homelab, ... }:$ let +{ timezone, homelab, ... }: let yt = [ "UCXuqSBlHAE6Xw-yeJA0Tunw" # LinusTechTips "UCsBjURrPoezykLs9EqgamOA" # Fireship