Add request deployment

This commit is contained in:
Ivan Diaz 2020-11-13 17:32:56 -03:00
parent bb1f5d0ade
commit b9b21ef950
4 changed files with 9 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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",

0
server/files/.htaccess Normal file → Executable file
View File