syntax fix and success notif
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 19s
All checks were successful
Activate Homelab Configuration / rebuild (push) Successful in 19s
This commit is contained in:
parent
e1d8f209bc
commit
4bb9be86c4
2 changed files with 10 additions and 1 deletions
|
|
@ -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 }}" \
|
-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 }}"
|
-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
|
- name: Clean Up
|
||||||
if: always()
|
if: always()
|
||||||
run: rm -f ./ssh/deploy_key
|
run: rm -f ./ssh/deploy_key
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ timezone, homelab, ... }:$ let
|
{ timezone, homelab, ... }: let
|
||||||
yt = [
|
yt = [
|
||||||
"UCXuqSBlHAE6Xw-yeJA0Tunw" # LinusTechTips
|
"UCXuqSBlHAE6Xw-yeJA0Tunw" # LinusTechTips
|
||||||
"UCsBjURrPoezykLs9EqgamOA" # Fireship
|
"UCsBjURrPoezykLs9EqgamOA" # Fireship
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue