Compare commits
2 Commits
467c4d9c9f
...
e46a872179
Author | SHA1 | Date |
---|---|---|
Amber McCloughan | e46a872179 | |
Amber McCloughan | 5ef4a42d42 |
|
@ -76,8 +76,8 @@ pipeline {
|
||||||
)]) {
|
)]) {
|
||||||
sh '''
|
sh '''
|
||||||
curl -H "Authorization: Bearer $API_TOKEN_PASS" -H "Content-Type: application/json" \
|
curl -H "Authorization: Bearer $API_TOKEN_PASS" -H "Content-Type: application/json" \
|
||||||
-X POST "https://api.digitalocean.com/v2/apps/$APP_ID/deployments"
|
-X POST "https://api.digitalocean.com/v2/apps/$APP_ID/deployments" \
|
||||||
-d "{ \"force_build\" : true }"
|
-d "{ \"force_build\" : true }" --fail-with-body
|
||||||
'''
|
'''
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue