Commit 0de92c5 1 parent 9f6469b commit 0de92c5 Copy full SHA for 0de92c5
File tree 2 files changed +7
-2
lines changed
2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -5,5 +5,10 @@ RAILS_ENV=production
5
5
ssh -A watchdoge -- RAILS_APP_BRANCH=develop /usr/local/bin/rails_deploy_datapass_reborn_$RAILS_ENV .sh
6
6
scp app/migration/.pgpassword watchdoge:.
7
7
ssh -A watchdoge -- sudo mv .pgpassword /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/
8
+ ssh -A watchdoge -- sudo chown +r /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/.pgpassword
9
+ ssh -A watchdoge -- sudo chmod root:root /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/.pgpassword
10
+
8
11
scp app/migration/.ovh.yml watchdoge:.
9
12
ssh -A watchdoge -- sudo mv .ovh.yml /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/
13
+ ssh -A watchdoge -- sudo chown +r /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/.ovh.yml
14
+ ssh -A watchdoge -- sudo chmod root:root /var/www/datapass_reborn_$RAILS_ENV /current/app/migration/.ovh.yml
Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ ActiveRecord::Base.transaction do
60
60
end
61
61
"
62
62
63
- echo " >> Maintenance mode OFF"
64
- sudo rm -f /var/www/html/maintenance_datapass.html
63
+ # echo ">> Maintenance mode OFF"
64
+ # sudo rm -f /var/www/html/maintenance_datapass.html
65
65
66
66
echo " >> Cleaning up"
67
67
rm -f ~ /.pgpass
You can’t perform that action at this time.
0 commit comments