From 8c0da144ae7beee7dd0b17cb0be8a5971f57b9af Mon Sep 17 00:00:00 2001 From: sige Date: Fri, 24 May 2024 14:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=83=E8=84=9A=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- publish.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/publish.ps1 b/publish.ps1 index 8435f5e..7f4611a 100644 --- a/publish.ps1 +++ b/publish.ps1 @@ -1,5 +1,5 @@ Param( - [String]$Exec="Deplay" + [String]$Exec="Deploy" ) if ( $Exec -eq "DevDisable" ) { @@ -8,7 +8,7 @@ if ( $Exec -eq "DevDisable" ) { } elseif ( $Exec -eq "DevEnable" ) { ssh root:zwsd@192.168.8.12 "touch /var/zapp_flag/chrome_in_test_mode"; ssh root:zwsd@192.168.8.12 "reboot" -} elseif ( $Exec -eq "Deplay" ) { +} elseif ( $Exec -eq "Deploy" ) { # build project yarn build # rename dist to current time, like 20221215121300