File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ inputs:
35
35
description : Command to install dependencies
36
36
required : false
37
37
default : " "
38
+ netlify_path :
39
+ description : Path to netlify CLI binary
40
+ required : false
41
+ default : " netlify"
38
42
build_command :
39
43
description : Command to build static website
40
44
required : false
78
82
MONOREPO_PACKAGE : ${{ inputs.monorepo_package }}
79
83
DEBUG : ${{ inputs.debug }}
80
84
COMMAND_EXTRA_FLAGS : ${{ inputs.command_extra_flags }}
85
+ NETLIFY_PATH : ${{ inputs.netlify_path }}
81
86
82
87
branding :
83
88
icon : activity
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ export NETLIFY_SITE_ID="${NETLIFY_SITE_ID}"
26
26
export NETLIFY_AUTH_TOKEN=" ${NETLIFY_AUTH_TOKEN} "
27
27
28
28
# command based on https://cli.netlify.com/commands/deploy
29
- COMMAND=" netlify deploy --dir=${BUILD_DIRECTORY} --functions=${FUNCTIONS_DIRECTORY} --message=\" ${NETLIFY_DEPLOY_MESSAGE} \" "
29
+ COMMAND=" ${NETLIFY_PATH} deploy --dir=${BUILD_DIRECTORY} --functions=${FUNCTIONS_DIRECTORY} --message=\" ${NETLIFY_DEPLOY_MESSAGE} \" "
30
30
31
31
if [[ " ${NETLIFY_DEPLOY_TO_PROD} " == " true" ]]
32
32
then
You can’t perform that action at this time.
0 commit comments