manage.get.gov/ops/scripts/deploy.sh
2022-10-06 14:58:32 -05:00

11 lines
No EOL
361 B
Bash
Executable file

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