Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/cicd_new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CICD
on:
push:
branches:
- main
- koway927
workflow_dispatch:

jobs:
Expand All @@ -22,7 +22,7 @@ jobs:
run: docker push cliu232/networking-platform-cicd
deploy:
needs: build
runs-on: ubuntu-latest
runs-on: self-hosted
steps:
- name: Pull image from docker hub
run: docker pull cliu232/networking-platform-cicd
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ RUN npm run build

# Step 2: Server With Nginx

FROM nginx:1.23-alpine
FROM nginx:1.18-alpine
WORKDIR /usr/share/nginx/html
RUN rm -rf *
COPY --from=build /app/build .
COPY default.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
ENTRYPOINT [ "nginx", "-g", "daemon off;" ]

61 changes: 61 additions & 0 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"files": {
"main.css": "/static/css/main.9722b64e.css",
"main.js": "/static/js/main.4774647d.js",
"static/js/787.917857b7.chunk.js": "/static/js/787.917857b7.chunk.js",
"static/media/tcp_lesson_answer.png": "/static/media/tcp_lesson_answer.9f17ef9f0e55775a7c97.png",
"static/media/Rectangle 343.png": "/static/media/Rectangle 343.aa1065cabeadcb1554dd.png",
"static/media/forwarding_lesson_answer.png": "/static/media/forwarding_lesson_answer.6f9b8397c8419d1004f8.png",
"static/media/Moneyverse Crypto Galaxy.png": "/static/media/Moneyverse Crypto Galaxy.0ce74c2477181e3031a4.png",
"static/media/ip_lesson_answer.png": "/static/media/ip_lesson_answer.4c748f42bb60665a6d0b.png",
"static/media/email_lesson_answer.png": "/static/media/email_lesson_answer.2e65103d93b47fad28b6.png",
"static/media/http_lesson_answer.png": "/static/media/http_lesson_answer.fad9802b439f89ad42c8.png",
"static/media/blue_jay_view.png": "/static/media/blue_jay_view.41833792aa24d9e91774.png",
"static/media/wifi_lesson_answer.png": "/static/media/wifi_lesson_answer.70bbef27189fd1b308d7.png",
"static/media/Stuck at Home Home Office.png": "/static/media/Stuck at Home Home Office.575d9c399c3555ad931d.png",
"static/media/dns_lesson_answer.png": "/static/media/dns_lesson_answer.0a96f2b17aa0ce57be49.png",
"static/media/tls_lesson_answer.png": "/static/media/tls_lesson_answer.e1c0c52601732320fac0.png",
"static/media/Happy Bunch Chat.png": "/static/media/Happy Bunch Chat.d235e89c5d96a61e260b.png",
"static/media/Humaaans Wireframe.png": "/static/media/Humaaans Wireframe.345fd8864d374163fc1f.png",
"static/media/Humaaans Graphs.png": "/static/media/Humaaans Graphs.e06c7b37e3101cdd93c7.png",
"static/media/inter-latin-ext-700-normal.woff": "/static/media/inter-latin-ext-700-normal.4c2578dbd1ff5ea14172.woff",
"static/media/inter-latin-ext-400-normal.woff": "/static/media/inter-latin-ext-400-normal.40b3b0d5e09a90fb6e3e.woff",
"static/media/inter-latin-ext-700-normal.woff2": "/static/media/inter-latin-ext-700-normal.65678f6198b402319e15.woff2",
"static/media/inter-latin-700-normal.woff": "/static/media/inter-latin-700-normal.91c4ed20ea233963e54f.woff",
"static/media/BlueJay.png": "/static/media/BlueJay.a844cd75f67b1e9acda6.png",
"static/media/inter-latin-ext-400-normal.woff2": "/static/media/inter-latin-ext-400-normal.0f9e8d4e940df8f6edfe.woff2",
"static/media/inter-latin-400-normal.woff": "/static/media/inter-latin-400-normal.08a02fd275ecea6ef662.woff",
"static/media/inter-latin-700-normal.woff2": "/static/media/inter-latin-700-normal.b4118e4ad76754e71d0b.woff2",
"static/media/inter-latin-400-normal.woff2": "/static/media/inter-latin-400-normal.f1535355a7df553be385.woff2",
"static/media/Uncollected_Parrot.png": "/static/media/Uncollected_Parrot.32577e791111715f58cc.png",
"static/media/inter-cyrillic-ext-700-normal.woff": "/static/media/inter-cyrillic-ext-700-normal.e4e658bd15474bdf1f72.woff",
"static/media/inter-cyrillic-ext-400-normal.woff": "/static/media/inter-cyrillic-ext-400-normal.cd2ad378115f549d3c5b.woff",
"static/media/Palz Plant Green Leaves.png": "/static/media/Palz Plant Green Leaves.fc035dce0ff009c7ebce.png",
"static/media/inter-greek-700-normal.woff": "/static/media/inter-greek-700-normal.9e418f84ee90e15d0251.woff",
"static/media/inter-greek-400-normal.woff": "/static/media/inter-greek-400-normal.1eeaf1d0bde712085ffc.woff",
"static/media/inter-cyrillic-ext-700-normal.woff2": "/static/media/inter-cyrillic-ext-700-normal.b5907ba78848350cc015.woff2",
"static/media/inter-cyrillic-ext-400-normal.woff2": "/static/media/inter-cyrillic-ext-400-normal.ac62c8eba7f954b48546.woff2",
"static/media/inter-cyrillic-700-normal.woff": "/static/media/inter-cyrillic-700-normal.0f46f8d8d4c86e97ab79.woff",
"static/media/inter-cyrillic-400-normal.woff": "/static/media/inter-cyrillic-400-normal.fa67b2dd0048a5433bd5.woff",
"static/media/inter-greek-700-normal.woff2": "/static/media/inter-greek-700-normal.9cab44e73e21bce8d0ec.woff2",
"static/media/inter-greek-400-normal.woff2": "/static/media/inter-greek-400-normal.be0e76b30a7663adf9eb.woff2",
"static/media/inter-greek-ext-700-normal.woff": "/static/media/inter-greek-ext-700-normal.967ff698d058fd7afc94.woff",
"static/media/inter-greek-ext-400-normal.woff": "/static/media/inter-greek-ext-400-normal.708f2f7425851a3b7633.woff",
"static/media/inter-cyrillic-700-normal.woff2": "/static/media/inter-cyrillic-700-normal.544acdec5810964d78ff.woff2",
"static/media/inter-vietnamese-700-normal.woff": "/static/media/inter-vietnamese-700-normal.d734ef5c1391f85dfa86.woff",
"static/media/inter-cyrillic-400-normal.woff2": "/static/media/inter-cyrillic-400-normal.fa78d8d6788399bf6527.woff2",
"static/media/inter-vietnamese-400-normal.woff": "/static/media/inter-vietnamese-400-normal.6eab7f5e6cae783b49bf.woff",
"static/media/inter-greek-ext-700-normal.woff2": "/static/media/inter-greek-ext-700-normal.31161fccc41bc72f7c30.woff2",
"static/media/inter-greek-ext-400-normal.woff2": "/static/media/inter-greek-ext-400-normal.1e2b9039d9ecdbea5d80.woff2",
"static/media/inter-vietnamese-700-normal.woff2": "/static/media/inter-vietnamese-700-normal.20cbef325a3893fe67ad.woff2",
"static/media/inter-vietnamese-400-normal.woff2": "/static/media/inter-vietnamese-400-normal.5952d3d3c5df5a2f8e09.woff2",
"index.html": "/index.html",
"main.9722b64e.css.map": "/static/css/main.9722b64e.css.map",
"main.4774647d.js.map": "/static/js/main.4774647d.js.map",
"787.917857b7.chunk.js.map": "/static/js/787.917857b7.chunk.js.map"
},
"entrypoints": [
"static/css/main.9722b64e.css",
"static/js/main.4774647d.js"
]
}
Binary file added build/favicon.ico
Binary file not shown.
1 change: 1 addition & 0 deletions build/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><script defer="defer" src="/static/js/main.4774647d.js"></script><link href="/static/css/main.9722b64e.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
Binary file added build/logo192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added build/logo512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions build/manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"short_name": "React App",
"name": "Create React App Sample",
"icons": [
{
"src": "favicon.ico",
"sizes": "64x64 32x32 24x24 16x16",
"type": "image/x-icon"
},
{
"src": "logo192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "logo512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": ".",
"display": "standalone",
"theme_color": "#000000",
"background_color": "#ffffff"
}
3 changes: 3 additions & 0 deletions build/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# https://www.robotstxt.org/robotstxt.html
User-agent: *
Disallow:
2 changes: 2 additions & 0 deletions build/static/css/main.9722b64e.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions build/static/css/main.9722b64e.css.map

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions build/static/js/787.917857b7.chunk.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading