File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -253,6 +253,7 @@ class Deployer {
253
253
. filter ( ( d ) => d )
254
254
. map ( ( d ) => d . split ( / \s / g) ) ;
255
255
const gitHub = remotes . find ( ( [ , url ] ) => url . startsWith ( "https://github.com/" ) ) ;
256
+ // TODO: validate "Your branch is up to date" & "nothing to commit, working tree clean"
256
257
if ( gitHub ) {
257
258
const [ ownerName , repoName ] = formatGitUrl ( gitHub [ 1 ] ) . split ( "/" ) ;
258
259
// Get current branch
@@ -522,7 +523,7 @@ class Deployer {
522
523
}
523
524
524
525
// Disables continuous deployment if there’s no env/source & we can’t link GitHub
525
- if ( continuousDeployment ) continuousDeployment = await this . maybeLinkGitHub ( deployTarget ) ;
526
+ if ( continuousDeployment ) await this . maybeLinkGitHub ( deployTarget ) ;
526
527
527
528
const newDeployConfig = {
528
529
projectId : deployTarget . project . id ,
You can’t perform that action at this time.
0 commit comments