a
Apps/everybody-mov/pipeline/head This commit looks good Details

This commit is contained in:
Amber McCloughan 2022-09-04 01:23:05 -04:00
parent 0eb13b8fa0
commit d9c9b3390f
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -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 }'
'''
"""
}
}
}