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