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