Skip to content

Commit 8c79019

Browse files
authored
Continuously deploy to -prod
1 parent 803bb3a commit 8c79019

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Jenkinsfile

+4-4
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ pipeline {
2525
export REVISION=$TAG_NAME
2626
2727
# Load RVM
28-
rvm use 3.0.1@pod --create
28+
rvm use 3.3.1@pod --create
2929
gem install bundler
3030
3131
bundle config --global gems.contribsys.com $SIDEKIQ_PRO_SECRET
@@ -53,13 +53,13 @@ pipeline {
5353
}
5454
}
5555

56-
stage('Deploy on release') {
56+
stage('Deploy to -prod') {
5757
environment {
5858
DEPLOY_ENVIRONMENT = 'prod'
5959
}
6060

6161
when {
62-
tag "v*"
62+
branch 'main'
6363
}
6464

6565
steps {
@@ -71,7 +71,7 @@ pipeline {
7171
export REVISION=$TAG_NAME
7272
7373
# Load RVM
74-
rvm use 3.0.1@pod --create
74+
rvm use 3.3.1@pod --create
7575
gem install bundler
7676
7777
bundle config --global gems.contribsys.com $SIDEKIQ_PRO_SECRET

0 commit comments

Comments
 (0)