File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,10 @@ inputs:
39
39
description : Deployment Subdomain name
40
40
required : false
41
41
default : " "
42
+ monorepo_package :
43
+ description : In monorepos, package to deploy
44
+ required : false
45
+ default : " "
42
46
outputs :
43
47
NETLIFY_OUTPUT :
44
48
description : netlify command output
63
67
INSTALL_COMMAND : ${{ inputs.install_command }}
64
68
BUILD_COMMAND : ${{ inputs.build_command }}
65
69
DEPLOY_ALIAS : ${{ inputs.deploy_alias }}
70
+ MONOREPO_PACKAGE : ${{ inputs.monorepo_package }}
66
71
67
-
68
72
branding :
69
73
icon : activity
70
74
color : blue
Original file line number Diff line number Diff line change 35
35
COMMAND+=" --alias ${DEPLOY_ALIAS} "
36
36
fi
37
37
38
+ if [[ -n " ${MONOREPO_PACKAGE} " ]]
39
+ then
40
+ COMMAND+=" --filter ${MONOREPO_PACKAGE} "
41
+ fi
42
+
38
43
OUTPUT=$( sh -c " $COMMAND " )
39
44
40
45
# Set outputs
@@ -57,4 +62,4 @@ echo "EOF" >> $GITHUB_ENV
57
62
58
63
echo " NETLIFY_LIVE_URL<<EOF" >> $GITHUB_ENV
59
64
echo " $NETLIFY_LIVE_URL " >> $GITHUB_ENV
60
- echo " EOF" >> $GITHUB_ENV
65
+ echo " EOF" >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments