Add request deployment
This commit is contained in:
parent
bb1f5d0ade
commit
b9b21ef950
|
@ -69,7 +69,8 @@ jobs:
|
|||
sudo pip install awscli
|
||||
sudo apt-get update
|
||||
sudo apt-get install lftp
|
||||
if [ "$CIRCLE_BRANCH" = "master" ]; then make deploy-staging-files; fi
|
||||
if [ "$CIRCLE_BRANCH" = "master" ]; then make deploy-staging-files; fi
|
||||
if [ "$CIRCLE_BRANCH" = "master" ]; then make deploy-staging-population; fi
|
||||
|
||||
workflows:
|
||||
install:
|
||||
|
|
5
Makefile
5
Makefile
|
@ -23,3 +23,8 @@ deploy-instance-files:
|
|||
|
||||
s3upload:
|
||||
aws s3 cp ${FILE} s3://$(BUCKET)/ --cache-control max-age=0
|
||||
|
||||
deploy-staging-population:
|
||||
curl -u ${CIRCLE_API_USER_TOKEN}: \
|
||||
-d 'build_parameters[CIRCLE_JOB]=deploy_dev1' \
|
||||
https://circleci.com/api/v1.1/project/github/opensupports/staging-population/tree/master
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
"config": {
|
||||
"platform": {
|
||||
"php": "7.1",
|
||||
"php": "5.6",
|
||||
"ext-fileinfo": "1.0.5"
|
||||
}
|
||||
},
|
||||
},
|
||||
"require": {
|
||||
"slim/slim": "~2.0",
|
||||
"respect/validation": "^1.1",
|
||||
|
|
Loading…
Reference in New Issue