This commit is contained in:
parent
8479339c51
commit
5c768189ae
1 changed files with 4 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
name: update-steamdeck
|
||||
run-name: ${{ github.actor }} - update-steamdeck
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 2 * * 1'
|
||||
# “At 02:00 Monday"
|
||||
|
@ -75,7 +76,7 @@ jobs:
|
|||
|
||||
- name: "nixos-version (Pre)"
|
||||
run: |
|
||||
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
|
||||
ssh -q -A -o StrictHostKeyChecking=no albert@steamdeck \
|
||||
"
|
||||
nixos-version
|
||||
"
|
||||
|
@ -89,12 +90,12 @@ jobs:
|
|||
cd /etc/nixos/git
|
||||
git pull
|
||||
sudo nixos-rebuild switch --flake /etc/nixos/git
|
||||
home-manager switch -b backup /etc/nixos/git
|
||||
home-manager switch -b backup --flake /etc/nixos/git
|
||||
"
|
||||
|
||||
- name: "nixos-version (Post)"
|
||||
run: |
|
||||
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
|
||||
ssh -q -A -o StrictHostKeyChecking=no albert@steamdeck \
|
||||
"
|
||||
nixos-version
|
||||
"
|
||||
|
|
Loading…
Reference in a new issue