Skip to content

Commit

Permalink
Merge pull request #205 from gcivil-nyu-org/samkit/feature
Browse files Browse the repository at this point in the history
Trying zip
  • Loading branch information
Shihuihuang1103 committed Apr 9, 2024
2 parents 6666598 + 6defaf2 commit 4e73aa5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ before_deploy:
- if [ "$TRAVIS_BRANCH" = "master" ]; then cp .ebextensions/django.config.master .ebextensions/django.config; fi
- if [ "$TRAVIS_BRANCH" = "develop" ]; then cp .ebextensions/django.config.dev .ebextensions/django.config; fi
- if [ "$TRAVIS_BRANCH" = "develop" ]; then cat .ebextensions/django.config; fi
- zip -r deploy_package.zip . -x "*.git*" -x "**/__pycache__/*" -x "*.pyc" -x "venv/*"

deploy:
- provider: elasticbeanstalk
Expand All @@ -35,6 +36,7 @@ deploy:
app: "TutorNYU-dev-branch"
env: "app-env"
bucket_name: "elasticbeanstalk-us-west-2-381492260474"
zip_file: deploy_package.zip
skip_cleanup: true
on:
branch: develop
Expand Down

0 comments on commit 4e73aa5

Please sign in to comment.