manage.get.gov/ops/scripts/deploy.sh
2022-09-15 15:16:37 -04:00

10 lines
291 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
cf run-task getgov-unstable --command 'python manage.py migrate' --name migrate