File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
dashboard/src/main/home/app-dashboard/app-view Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ const AppDataContainer: React.FC<AppDataContainerProps> = ({ tabParam }) => {
197
197
try {
198
198
const { variables, secrets, validatedAppProto } = await validateApp ( data ) ;
199
199
200
+ const porterUserOnBuildTab =
201
+ currentTab === "build-settings" && user ?. isPorterUser ;
202
+
200
203
const needsRebuild =
201
204
buildIsDirty ||
202
205
latestRevision . status === "BUILD_FAILED" ||
@@ -240,7 +243,10 @@ const AppDataContainer: React.FC<AppDataContainerProps> = ({ tabParam }) => {
240
243
) ;
241
244
}
242
245
243
- if ( latestSource . type === "github" && needsRebuild ) {
246
+ if (
247
+ latestSource . type === "github" &&
248
+ ( needsRebuild || porterUserOnBuildTab )
249
+ ) {
244
250
// add a new revision with updated build settings only if they have changed
245
251
if ( validatedAppProto . build && buildIsDirty ) {
246
252
await api . updateBuildSettings (
You can’t perform that action at this time.
0 commit comments