Skip to main content
Sign in
Snippets Groups Projects

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

1 file
+ 6
6
Compare changes
  • Side-by-side
  • Inline
+ 6
6
@@ -5,14 +5,14 @@
@@ -5,14 +5,14 @@
# stop at first error
# stop at first error
set -e
set -e
echo "Stop the service before deleting the build..."
# INFO:
systemctl --user stop dotations-ui-integ.service
# 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)
npm run clean:build
echo "Update the application's dependencies and build..."
npm install
npm install
npm run build
npm run build
echo "Start the service after build creation..."
echo "Restart the service after build update..."
systemctl --user start dotations-ui-integ.service
systemctl --user restart dotations-ui-integ.service
echo "Deployment done! 🎉"
echo "Deployment done! 🎉"
Loading