Skip to content
Snippets Groups Projects
Commit 4b9f38c0 authored by Joonas Seppä's avatar Joonas Seppä
Browse files

Deployment to Heroku works again. Adding building frontend to gitlab CI/CD,...

Deployment to Heroku works again. Adding building frontend to gitlab CI/CD, deleting build file locally and adding favicon back to the application.
parent a840b378
No related branches found
No related tags found
No related merge requests found
Pipeline #61651 passed
...@@ -14,6 +14,16 @@ build-backend: ...@@ -14,6 +14,16 @@ build-backend:
paths: paths:
- "messagesAppBackend/build/" - "messagesAppBackend/build/"
build-frontend:
stage: build
script:
- cd messages-app-frontend
- npm install
- npm run build
artifacts:
paths:
- "messages-app-frontend/build/"
deploy-backend-to-heroku: deploy-backend-to-heroku:
image: ruby:latest image: ruby:latest
stage: deploy stage: deploy
......
{
"files": {
"main.js": "/static/js/main.5b442a99.js",
"index.html": "/index.html",
"main.5b442a99.js.map": "/static/js/main.5b442a99.js.map"
},
"entrypoints": [
"static/js/main.5b442a99.js"
]
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><title>Messages Application</title><script defer="defer" src="/static/js/main.5b442a99.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
\ No newline at end of file
Source diff could not be displayed: it is too large. Options to address this: view the blob.
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* @mui/styled-engine v5.11.11
*
* @license MIT
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
This diff is collapsed.
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<title>Messages Application</title> <title>Messages Application</title>
<link rel="icon" type="image/png" href="https://e7.pngegg.com/pngimages/198/585/png-clipart-chatbox-icon-computer-icons-message-sms-icon-message-miscellaneous-grass.png" />
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment