Commit 5274d9b0 authored by Sripath Roy Koganti's avatar Sripath Roy Koganti

Update .gitlab-ci.yml

parent bad73d8b
Pipeline #19895 passed with stage
in 2 minutes and 32 seconds
......@@ -20,7 +20,7 @@ pages:
stage: deploy
script:
- npm install # Install all dependencies
- npm run build --prod # Build for prod
- CI=false npm run build --prod # Build for prod
- cp public/index.html public/404.html # Not necessary, but helps with https://medium.com/@pshrmn/demystifying-single-page-applications-3068d0555d46
- mv public _public # CRA and gitlab pages both use the public folder. Only do this in a build pipeline.
- mv build public # Move build files to public dir for Gitlab Pages
......
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