Skip to content

Commit 9f6469b

Browse files
committed
Migration: final touch for deploy
1 parent 798ea36 commit 9f6469b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/migration/deploy.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#!/bin/bash
22

3-
RAILS_ENV=staging
3+
RAILS_ENV=production
44

5-
ssh -A watchdoge -- RAILS_APP_BRANCH=migration/api-entreprise /usr/local/bin/rails_deploy_datapass_reborn_$RAILS_ENV.sh
5+
ssh -A watchdoge -- RAILS_APP_BRANCH=develop /usr/local/bin/rails_deploy_datapass_reborn_$RAILS_ENV.sh
66
scp app/migration/.pgpassword watchdoge:.
77
ssh -A watchdoge -- sudo mv .pgpassword /var/www/datapass_reborn_$RAILS_ENV/current/app/migration/
88
scp app/migration/.ovh.yml watchdoge:.

app/migration/run.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ pg_password=`cat app/migration/.pgpassword`
77
cd /var/www/datapass_reborn_$RAILS_ENV/current
88

99
## TODO TO CHANGE
10-
RAILS_ENV=staging
11-
LOCAL=true
10+
RAILS_ENV=production
11+
LOCAL=false
1212
## END TODO
1313

1414
export RAILS_ENV LOCAL

0 commit comments

Comments
 (0)