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
|
name: update-steamdeck
|
||||||
run-name: ${{ github.actor }} - update-steamdeck
|
run-name: ${{ github.actor }} - update-steamdeck
|
||||||
on:
|
on:
|
||||||
|
push:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 2 * * 1'
|
- cron: '0 2 * * 1'
|
||||||
# “At 02:00 Monday"
|
# “At 02:00 Monday"
|
||||||
|
@ -75,7 +76,7 @@ jobs:
|
||||||
|
|
||||||
- name: "nixos-version (Pre)"
|
- name: "nixos-version (Pre)"
|
||||||
run: |
|
run: |
|
||||||
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
|
ssh -q -A -o StrictHostKeyChecking=no albert@steamdeck \
|
||||||
"
|
"
|
||||||
nixos-version
|
nixos-version
|
||||||
"
|
"
|
||||||
|
@ -89,12 +90,12 @@ jobs:
|
||||||
cd /etc/nixos/git
|
cd /etc/nixos/git
|
||||||
git pull
|
git pull
|
||||||
sudo nixos-rebuild switch --flake /etc/nixos/git
|
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)"
|
- name: "nixos-version (Post)"
|
||||||
run: |
|
run: |
|
||||||
ssh -q -A -o StrictHostKeyChecking=no albert@framework-server \
|
ssh -q -A -o StrictHostKeyChecking=no albert@steamdeck \
|
||||||
"
|
"
|
||||||
nixos-version
|
nixos-version
|
||||||
"
|
"
|
||||||
|
|
Loading…
Reference in a new issue