Skip to content
Snippets Groups Projects
Commit 746fddc2 authored by Fredrik Fonn Hansen's avatar Fredrik Fonn Hansen :8ball:
Browse files

Merge branch 'fix-deploy-2' into 'main'

fix startup script

See merge request !87
parents 76cc205f 9f877f47
No related branches found
No related tags found
1 merge request!87fix startup script
Pipeline #218270 passed
......@@ -6,7 +6,7 @@ if ! command -v pm2 &> /dev/null; then
fi
# Start the Express.js app
cd /home/git/tdt4240-tank-wars/backend && sudo git pull && sudo npx yarn && sudo yarn start:prod
cd /home/git/tdt4240-tank-wars/backend && sudo git pull && sudo npx yarn && sudo npx yarn start:prod
# Wait for the app to start and check the status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment