From 03b6898c53a5eb1166f68054b6dfa7d141bd7858 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Tue, 28 Nov 2023 06:12:52 +0800 Subject: [PATCH] install surge via npx if not already installed workaround https://github.com/sintaxi/surge/issues/504 bubbling up to dependers --- action.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.bash b/action.bash index f23fbfd..ad46683 100755 --- a/action.bash +++ b/action.bash @@ -72,6 +72,6 @@ if test ${#targets[@]} -eq 0; then else for target in ${targets[*]}; do echo "deploying $SURGE_PROJECT to $target" - npx --no-install surge --project $SURGE_PROJECT --domain "$target" + npx --yes surge --project $SURGE_PROJECT --domain "$target" done fi