Skip to content
Artem Chubchenko edited this page Feb 16, 2021 · 4 revisions

Resources

How to deploy?

  • Fill out variables in .deploy/bin/variables.sh
  • For push Nginx docker image to ECR run .deploy/bin/build/nginx_image.sh --running-tag (staging or production)
  • Manual push to staging:
  • Add AWS credentials to .deploy/bin/variables.sh
  • Run .deploy/bin/deploy/staging.sh
  • Manual push to production:
  • Add AWS credentials to .deploy/bin/variables.sh
  • Run .deploy/bin/deploy/production.sh
  • For autodeploy:
  • add RAILS_PRODUCTION_KEY to CircleCI variable with production master key
  • add RAILS_STAGING_KEY to CircleCI variable with staging master key
  • add AWS_ACCESS_KEY_ID to CircleCI variable
  • add AWS_SECRET_ACCESS_KEY to CircleCI variable It will deploy to production after the merge to master. It will deploy to staging after the merge to develop.
Clone this wiki locally