Testing
This commit is contained in:
parent
3cf170c12f
commit
bede5db265
2 changed files with 9 additions and 3 deletions
|
@ -74,8 +74,6 @@ jobs:
|
|||
cd /etc/nixos/git
|
||||
git pull
|
||||
deploy
|
||||
git commit -am \"[ACTIONS] deploy-rs updates (`date +%Y-%m-%d`)\"
|
||||
git push
|
||||
"
|
||||
|
||||
- name: "nixos-version (Post)"
|
||||
|
@ -93,6 +91,14 @@ jobs:
|
|||
notification_title: '[ ${{ github.repository }}: ${{ github.workflow }} ] NixOS Deployed'
|
||||
notification_message: 'Deployment completed successfully.'
|
||||
name: "Send Notification - Success"
|
||||
- if: success()
|
||||
name: "Push changes to git"
|
||||
run: |
|
||||
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
|
||||
"
|
||||
git commit -am \"[ACTIONS] deploy-rs updates (`date +%Y-%m-%d`)\"
|
||||
git push
|
||||
"
|
||||
- if: failure()
|
||||
uses: https://git.sysctl.io/actions/gotify-action@master
|
||||
with:
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
osaka-linode-01 = libx.mkHost { hostname = "osaka-linode-01"; };
|
||||
framework-server = libx.mkHost { hostname = "framework-server"; };
|
||||
nuc-server = libx.mkHost { hostname = "nuc-server"; };
|
||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; repo = "nixpkgs-unstable"; desktop = "hyprland"; theme = "tokyo-night"; };
|
||||
nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; desktop = "hyprland"; theme = "tokyo-night"; };
|
||||
nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; desktop = "hyprland"; theme = "sakura-day"; };
|
||||
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||
piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||
|
|
Loading…
Reference in a new issue