manage.get.gov/ops/scripts/deploy.sh
Logan McDonald 6a54bf1ff4
Create new stable environment (#367)
update documentation for environments and setup new stable environment
2023-01-17 13:54:30 -08:00

11 lines
No EOL
345 B
Bash
Executable file

#!/bin/sh
# Compile and collect static assets
../ops/scripts/build.sh
# Deploy to sandbox
cf target -o cisa-getgov-prototyping -s $1
cf push getgov-$1 -f ../ops/manifests/manifest-$1.yaml
# migrations need to be run manually. Developers can use this command
#cf run-task getgov-SANDBOXNAME --command 'python manage.py migrate' --name migrate