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

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

View File

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

View File

@ -1,7 +1,7 @@
{ {
"config": { "config": {
"platform": { "platform": {
"php": "7.1", "php": "5.6",
"ext-fileinfo": "1.0.5" "ext-fileinfo": "1.0.5"
} }
}, },

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