Commit 21819654 authored by M2947's avatar M2947 😎
Browse files

yml update

parent d9370da2
Pipeline #243044 failed with stages
......@@ -11,8 +11,8 @@ deploy:
- echo 'Started Deploying'
- ls /home/ubuntu/ -l -a
- cd Tavara-\ raskaan\ liikenne/backend/
- sudo npm install
- sudo pm2 start index.js --restart-delay 3000
- npm install
- pm2 start index.js --restart-delay 3000
#changing the local host to server IP address
- sudo sed -i 's/localhost/86.50.252.101/' ../frontend/traffic/src/components/Url.js
......@@ -26,9 +26,10 @@ build:
script:
- echo "Building"
- pwd
- cd ../frontend/traffic
- sudo npm install
- sudo npm run build
- cd ..
- cd /frontend/traffic
- npm install
- npm run build
- sudo serve -s build -l 80
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment