Skip to content
This repository was archived by the owner on Aug 5, 2021. It is now read-only.

Commit ad30bb2

Browse files
author
Kevin Richter
committed
Merge branch 'master' of github.com:MapCreatorEU/api-docs
2 parents afa33bc + f473326 commit ad30bb2

File tree

2 files changed

+18
-16
lines changed

2 files changed

+18
-16
lines changed

Jenkinsfile

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,24 @@ node('node') {
1313
sh 'bundle exec middleman build --clean'
1414
}
1515

16-
stage('deploy') {
17-
def deploy = new Deploy(steps)
18-
deploy.initialize(
19-
'/var/www/',
20-
'maps4news-docs',
21-
'master',
22-
BUILD_NUMBER,
23-
'f206c873-8c0b-481e-9c72-1ecb97a5213a',
24-
'deploy',
25-
'54.246.191.92',
26-
false
27-
)
16+
if (BRANCH_NAME in ['master']) {
17+
stage('deploy') {
18+
def deploy = new Deploy(steps)
19+
deploy.initialize(
20+
'/var/www/',
21+
'maps4news-docs',
22+
'master',
23+
BUILD_NUMBER,
24+
'f206c873-8c0b-481e-9c72-1ecb97a5213a',
25+
'deploy',
26+
'54.246.191.92',
27+
false
28+
)
2829

29-
deploy.prepare()
30-
deploy.copy('./build/*')
31-
deploy.finish()
30+
deploy.prepare()
31+
deploy.copy('./build/*')
32+
deploy.finish()
33+
}
3234
}
3335

3436
stage('cleanup') {

source/v1/api.html.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ The available operators are:
110110
- `<=`: Smaller than or equals operator
111111
- `^`: Starts with operator
112112
- `$`: Ends with operator
113-
- Or no operator, that will result in a `LIKE` statement
113+
- `~`: Or no operator, that will result in a `LIKE` statement
114114

115115
# Keywords
116116

0 commit comments

Comments
 (0)