Skip to content
Snippets Groups Projects

Met à jour les sources du dépôt au déploiement en intégration

Files

+ 6
6
@@ -5,14 +5,14 @@
# stop at first error
set -e
echo "Stop all services..."
systemctl --user stop dotations-ui-integ.service
# Later: remove dependencies before reinstall?
# INFO:
# no need to stop the service or delete the previous build before (re)build
# (in case of memory shortage move the building step to the CI)
echo "Update the application's dependencies and build..."
npm install
npm run build
echo "Restart service..."
systemctl --user start dotations-ui-integ.service
echo "Restart the service after build update..."
systemctl --user restart dotations-ui-integ.service
echo "Deployment done! 🎉"
Loading