Skip to content

Commit c42efca

Browse files
authored
Continuously deploy to -prod
1 parent 146360b commit c42efca

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
@@ -23,7 +23,7 @@ pipeline {
2323
export DEPLOY=1
2424
2525
# Load RVM
26-
rvm use 3.1.2@library-hours --create
26+
rvm use 3.2.3@library-hours --create
2727
gem install bundler
2828
2929
bundle install --without production
@@ -50,13 +50,13 @@ pipeline {
5050
}
5151
}
5252

53-
stage('Deploy on release') {
53+
stage('Deploy to -prod') {
5454
environment {
5555
DEPLOY_ENVIRONMENT = 'prod'
5656
}
5757

5858
when {
59-
tag "v*"
59+
branch 'main'
6060
}
6161

6262
steps {
@@ -68,7 +68,7 @@ pipeline {
6868
export REVISION=$TAG_NAME
6969
7070
# Load RVM
71-
rvm use 3.1.2@library-hours --create
71+
rvm use 3.2.3@library-hours --create
7272
gem install bundler
7373
7474
bundle install --without production

0 commit comments

Comments
 (0)