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

Update .gitlab-ci.yml

parent 0e0a3bfe
Pipeline #243025 failed with stages
in 1 second
......@@ -8,8 +8,12 @@ deploy:
stage: deploy
script:
- echo 'coping from Runner to SUT'
- echo 'Started Deploying'
- ls /home/ubuntu/ -l -a
- sudo pm2 start Tavara-\ raskaan\ liikenne/backend/indes.js --restart-delay 3000
#changing the local host to server IP address
- sed -i 's/localhost/86.50.252.101/' Tavara-\ raskaan\ liikenne/frontend/traffic/src/components/Url.js
only:
- master
......@@ -20,6 +24,10 @@ build:
script:
- echo "Building"
- pwd
- cd Tavara-\ raskaan\ liikenne/frontend/traffic
- npm install
- npm run build
- serve -s build -l 80
only:
- master
......
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