Skip to content
Snippets Groups Projects
Commit a0621578 authored by M2947's avatar M2947 :sunglasses:
Browse files

Update .gitlab-ci.yml

parent 0e0a3bfe
No related branches found
No related tags found
No related merge requests found
Pipeline #243025 failed
......@@ -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
......
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