Add request deployment
This commit is contained in:
parent
bb1f5d0ade
commit
b9b21ef950
|
@ -70,6 +70,7 @@ jobs:
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install lftp
|
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:
|
workflows:
|
||||||
install:
|
install:
|
||||||
|
|
5
Makefile
5
Makefile
|
@ -23,3 +23,8 @@ deploy-instance-files:
|
||||||
|
|
||||||
s3upload:
|
s3upload:
|
||||||
aws s3 cp ${FILE} s3://$(BUCKET)/ --cache-control max-age=0
|
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,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"config": {
|
"config": {
|
||||||
"platform": {
|
"platform": {
|
||||||
"php": "7.1",
|
"php": "5.6",
|
||||||
"ext-fileinfo": "1.0.5"
|
"ext-fileinfo": "1.0.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue