This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
name: Build and Deploy Desktop
|
name: Build and Deploy
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main]
|
||||||
@@ -19,6 +19,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
nix build .#nixosConfigurations.yarn.config.system.build.toplevel -L
|
nix build .#nixosConfigurations.yarn.config.system.build.toplevel -L
|
||||||
|
|
||||||
|
- name: Build NixOS configuration (mreow)
|
||||||
|
run: |
|
||||||
|
nix build .#nixosConfigurations.mreow.config.system.build.toplevel -L
|
||||||
|
|
||||||
- name: Deploy to desktop
|
- name: Deploy to desktop
|
||||||
run: |
|
run: |
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
@@ -35,7 +39,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -sf -X POST \
|
curl -sf -X POST \
|
||||||
"https://ntfy.sigkill.computer/deployments" \
|
"https://ntfy.sigkill.computer/deployments" \
|
||||||
-H "Title: [yarn] Build succeeded" \
|
-H "Title: [dotfiles] Build succeeded" \
|
||||||
-H "Priority: default" \
|
-H "Priority: default" \
|
||||||
-H "Tags: white_check_mark" \
|
-H "Tags: white_check_mark" \
|
||||||
-d "dotfiles built from commit ${GITHUB_SHA::8}"
|
-d "dotfiles built from commit ${GITHUB_SHA::8}"
|
||||||
@@ -45,7 +49,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
curl -sf -X POST \
|
curl -sf -X POST \
|
||||||
"https://ntfy.sigkill.computer/deployments" \
|
"https://ntfy.sigkill.computer/deployments" \
|
||||||
-H "Title: [yarn] Build FAILED" \
|
-H "Title: [dotfiles] Build FAILED" \
|
||||||
-H "Priority: urgent" \
|
-H "Priority: urgent" \
|
||||||
-H "Tags: rotating_light" \
|
-H "Tags: rotating_light" \
|
||||||
-d "dotfiles build failed at commit ${GITHUB_SHA::8}"
|
-d "dotfiles build failed at commit ${GITHUB_SHA::8}"
|
||||||
|
|||||||
Reference in New Issue
Block a user