From 5c768189aeb50d76b3fe49fe9591664a5b5f727a Mon Sep 17 00:00:00 2001 From: albert Date: Mon, 1 Jul 2024 10:00:29 +0900 Subject: [PATCH] Update workflows --- .forgejo/workflows/update-steamdeck.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.forgejo/workflows/update-steamdeck.yml b/.forgejo/workflows/update-steamdeck.yml index effc38fe..dd845ee3 100644 --- a/.forgejo/workflows/update-steamdeck.yml +++ b/.forgejo/workflows/update-steamdeck.yml @@ -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 "