Skip to content

Commit

Permalink
Deploy to /usr/local/www/skylines using the frontend user
Browse files Browse the repository at this point in the history
  • Loading branch information
Turbo87 committed Jul 27, 2020
1 parent 3cd7ef9 commit e18754b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Caddyfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
0.0.0.0:80 {
log /home/skylines/log/caddy

root /home/skylines/src/skylines/frontend/static
root /usr/local/www/skylines/active
gzip

header / Strict-Transport-Security "max-age=31536000;"
Expand Down
6 changes: 1 addition & 5 deletions ember/config/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,9 @@ module.exports = function (deployTarget) {

ENV['with-rsync'] = {
host: 'skylines.aero',
username: 'skylines',
username: 'frontend',
privateKeyPath: process.env['PRIVATE_KEY_PATH'],
port: 2222,
root: '/home/skylines/frontend',
activationDestination() {
return '/home/skylines/src/skylines/frontend/static';
},
};
}

Expand Down

0 comments on commit e18754b

Please sign in to comment.