mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-05-16 17:47:02 +02:00
Create a deploy script
This commit is contained in:
parent
2f09db0ec5
commit
411dcea530
1 changed files with 10 additions and 0 deletions
10
ops/scripts/deploy.sh
Executable file
10
ops/scripts/deploy.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/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
|
Loading…
Add table
Add a link
Reference in a new issue