Skip to content

Commit

Permalink
ci: Install development dependencies in production
Browse files Browse the repository at this point in the history
  • Loading branch information
roschaefer committed Sep 11, 2020
1 parent 6362f3d commit 9b298f6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deployment/scripts/deploy-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ cd ../../frontend

ember deploy production
scp production-server.js package.json [email protected]:/home/rfmb/rundfunk-frontend/
ssh [email protected] 'cd rundfunk-frontend/ && yarn install'
# TODO: only install production dependencies
# Running into: https://github.com/ember-cli/ember-fetch/issues/115
ssh [email protected] 'cd rundfunk-frontend/ && yarn install --production=false'
ssh [email protected] 'supervisorctl reread && supervisorctl update && supervisorctl restart rundfunk-frontend'

0 comments on commit 9b298f6

Please sign in to comment.