a
Apps/everybody-mov/pipeline/head This commit looks good
Details
Apps/everybody-mov/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0eb13b8fa0
commit
d9c9b3390f
|
@ -74,11 +74,11 @@ pipeline {
|
|||
usernameVariable: 'API_TOKEN_USER',
|
||||
passwordVariable: 'API_TOKEN_PASS'
|
||||
)]) {
|
||||
sh '''
|
||||
sh """
|
||||
curl -H 'Authorization: Bearer $API_TOKEN_PASS' -H 'Content-Type: application/json' \
|
||||
-X POST 'https://api.digitalocean.com/v2/apps/$APP_ID/deployments' \
|
||||
-d '{ \"force_build\" : true }'
|
||||
'''
|
||||
"""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue