Skip to content

Commit

Permalink
Create CODEOWNERS + Jenkinsfile
Browse files Browse the repository at this point in the history
experiment to automatically deploy to test env
  • Loading branch information
saerdnaer committed Apr 18, 2022
1 parent e68378e commit 13e29ee
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
deploy* @voc/core
Jenkinsfile @voc/core
17 changes: 17 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
stage('Deploy in Test env') {
when {
branch 'staging'
}
steps {
sh "./deploy-staging.sh"
}
}

stage('Deploy in Prod env') {
when {
branch 'master'
}
steps {
// sh "./deploy.sh"
}
}

0 comments on commit 13e29ee

Please sign in to comment.