Skip to content

Commit 4a1f7db

Browse files
committed
Sets up prod deployment
1 parent c7b3f66 commit 4a1f7db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ def APPNAME = "freecodecamp-mfe"
33

44
// Define which branch build and deploy need to run in the below array
55

6-
def branchfilter = ['dev']
6+
def branchfilter = ['dev', 'prod']
77

88
if (!branchfilter.contains(env.BRANCH_NAME)) {
99
println 'Now is not the time to run the pipeline.'
@@ -25,7 +25,7 @@ if (env.BRANCH_NAME == 'dev') {
2525
}
2626

2727
// NOTE: main/prod is not supported yet
28-
if (env.BRANCH_NAME == 'main') {
28+
if (env.BRANCH_NAME == 'prod') {
2929
DEPLOY_ENV = 'PROD'
3030
LOGICAL_ENV = 'prod'
3131
IS_BUILD = true

0 commit comments

Comments
 (0)