File tree 5 files changed +25
-0
lines changed
5 files changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,7 @@ Here are all the inputs [deploy-to-vercel-action](https://github.com/BetaHuhn/de
95
95
| `BUILD_ENV` | Provide environment variables to the build step | **No** | N/A |
96
96
| `WORKING_DIRECTORY` | Working directory for the Vercel CLI | **No** | N/A |
97
97
| `FORCE` | Used to skip the build cache. | **No** | false
98
+ | `PREBUILT` | Deploy a prebuilt Vercel Project. | **No** | false
98
99
99
100
# # 🛠️ Configuration
100
101
Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ inputs:
23
23
description : |
24
24
Create a production deployment (default: true, false for PR deployments).
25
25
required : false
26
+ PREBUILT :
27
+ description : |
28
+ Deploy a prebuilt Vercel Project (default: false).
29
+ required : false
26
30
GITHUB_DEPLOYMENT :
27
31
description : |
28
32
Create a deployment on GitHub (default: true).
Original file line number Diff line number Diff line change @@ -15973,6 +15973,11 @@ const context = {
15973
15973
key: 'BUILD_ENV',
15974
15974
type: 'array'
15975
15975
}),
15976
+ PREBUILT: parser.getInput({
15977
+ key: 'PREBUILT',
15978
+ type: 'boolean',
15979
+ default: false
15980
+ }),
15976
15981
RUNNING_LOCAL: process.env.RUNNING_LOCAL === 'true',
15977
15982
FORCE: parser.getInput({
15978
15983
key: 'FORCE',
@@ -16242,6 +16247,7 @@ const {
16242
16247
REF,
16243
16248
TRIM_COMMIT_MESSAGE,
16244
16249
BUILD_ENV,
16250
+ PREBUILT,
16245
16251
WORKING_DIRECTORY,
16246
16252
FORCE
16247
16253
} = __nccwpck_require__(4570)
@@ -16264,6 +16270,10 @@ const init = () => {
16264
16270
commandArguments.push('--prod')
16265
16271
}
16266
16272
16273
+ if (PREBUILT) {
16274
+ commandArguments.push('--prebuilt')
16275
+ }
16276
+
16267
16277
if (FORCE) {
16268
16278
commandArguments.push('--force')
16269
16279
}
Original file line number Diff line number Diff line change @@ -88,6 +88,11 @@ const context = {
88
88
key : 'BUILD_ENV' ,
89
89
type : 'array'
90
90
} ) ,
91
+ PREBUILT : parser . getInput ( {
92
+ key : 'PREBUILT' ,
93
+ type : 'boolean' ,
94
+ default : false
95
+ } ) ,
91
96
RUNNING_LOCAL : process . env . RUNNING_LOCAL === 'true' ,
92
97
FORCE : parser . getInput ( {
93
98
key : 'FORCE' ,
Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const {
14
14
REF ,
15
15
TRIM_COMMIT_MESSAGE ,
16
16
BUILD_ENV ,
17
+ PREBUILT ,
17
18
WORKING_DIRECTORY ,
18
19
FORCE
19
20
} = require ( './config' )
@@ -36,6 +37,10 @@ const init = () => {
36
37
commandArguments . push ( '--prod' )
37
38
}
38
39
40
+ if ( PREBUILT ) {
41
+ commandArguments . push ( '--prebuilt' )
42
+ }
43
+
39
44
if ( FORCE ) {
40
45
commandArguments . push ( '--force' )
41
46
}
You can’t perform that action at this time.
0 commit comments