Update workflows
All checks were successful
update-steamdeck / deploy-rs (push) Successful in 7m27s

This commit is contained in:
albert 2024-07-01 10:00:29 +09:00
parent 8479339c51
commit 5c768189ae
Signed by: albert
GPG key ID: 3895DD267CA11BA9

View file

@ -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
"