Skip to content

Commit

Permalink
Fix repository name in depoyment config files
Browse files Browse the repository at this point in the history
  • Loading branch information
vitaliiznak committed Aug 29, 2024
1 parent dd1042c commit 9eb9eff
Show file tree
Hide file tree
Showing 8 changed files with 3,913 additions and 17 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Deploy to GitHub Pages

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
1 change: 1 addition & 0 deletions dist/assets/index-DdFA0Zrx.css
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
body{margin:0;background-color:#1f2937;color:#f3f4f6}
3,593 changes: 3,593 additions & 0 deletions dist/assets/index-rLg7-0ta.js

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions dist/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Neural Network Visualization</title>
<script type="module" crossorigin src="/func_interpolator_aka_neural_network_with_vizualisation/assets/index-rLg7-0ta.js"></script>
<link rel="stylesheet" crossorigin href="/func_interpolator_aka_neural_network_with_vizualisation/assets/index-DdFA0Zrx.css">
</head>

<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

</body>

</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>

<script src="/src/index.tsx" type="module"></script>
<script src="./src/index.tsx" type="module"></script>
</body>

</html>
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
"version": "1.0.0",
"main": "index.js",
"description": "Neural Network Visualization",
"homepage": "https://vitaliiznak.github.io/func_interpolator_aka_neural_network_with_vizualisation",
"scripts": {
"start": "vite",
"build": "vite build",
"dev": "vite",
"serve": "vite preview",
"test": "echo \"Error: no test specified\" && exit 1",
"start-cmd": "ts-node --project tsconfig.json src/index.ts"
"predeploy": "npm run build",
"deploy": "gh-pages -d dist"
},
"keywords": [],
"author": "",
Expand All @@ -22,6 +23,7 @@
"@typescript-eslint/eslint-plugin": "^8.2.0",
"@typescript-eslint/parser": "^8.2.0",
"eslint": "^9.9.0",
"gh-pages": "^6.1.1",
"globals": "^15.9.0",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
Expand All @@ -45,4 +47,4 @@
"vite": "^5.4.2",
"vite-plugin-solid": "^2.10.2"
}
}
}
Loading

0 comments on commit 9eb9eff

Please sign in to comment.