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:
3939 description : Deployment Subdomain name
4040 required : false
4141 default : " "
42+ monorepo_package :
43+ description : In monorepos, package to deploy
44+ required : false
45+ default : " "
4246outputs :
4347 NETLIFY_OUTPUT :
4448 description : netlify command output
6367 INSTALL_COMMAND : ${{ inputs.install_command }}
6468 BUILD_COMMAND : ${{ inputs.build_command }}
6569 DEPLOY_ALIAS : ${{ inputs.deploy_alias }}
70+ MONOREPO_PACKAGE : ${{ inputs.monorepo_package }}
6671
67-
6872branding :
6973 icon : activity
7074 color : blue
Original file line number Diff line number Diff line change 3535 COMMAND+=" --alias ${DEPLOY_ALIAS} "
3636fi
3737
38+ if [[ -n " ${MONOREPO_PACKAGE} " ]]
39+ then
40+ COMMAND+=" --filter ${MONOREPO_PACKAGE} "
41+ fi
42+
3843OUTPUT=$( sh -c " $COMMAND " )
3944
4045# Set outputs
@@ -57,4 +62,4 @@ echo "EOF" >> $GITHUB_ENV
5762
5863echo " NETLIFY_LIVE_URL<<EOF" >> $GITHUB_ENV
5964echo " $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