Skip to content

Commit 99d65a8

Browse files
author
Davi Castro Samora
committed
deploy fixed
1 parent 3d6fc58 commit 99d65a8

10 files changed

Lines changed: 113 additions & 1495 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Deploy Static Site to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
# Allow only one concurrent deployment
8+
concurrency:
9+
group: "pages"
10+
cancel-in-progress: false
11+
12+
jobs:
13+
deploy:
14+
runs-on: ubuntu-latest
15+
16+
permissions:
17+
contents: read
18+
pages: write
19+
id-token: write
20+
21+
steps:
22+
- name: Checkout
23+
uses: actions/checkout@v4
24+
25+
- name: Setup Pages
26+
uses: actions/configure-pages@v4
27+
28+
- name: Upload artifact
29+
uses: actions/upload-pages-artifact@v3
30+
with:
31+
# Upload entire repository (index.html está na raiz)
32+
path: '.'
33+
34+
- name: Deploy to GitHub Pages
35+
id: deployment
36+
uses: actions/deploy-pages@v4

.github/workflows/deploy.yml

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818

1919
strategy:
2020
matrix:
21-
node-version: [18.x]
21+
node-version: [20.x]
2222

2323
steps:
2424
- name: Checkout
@@ -29,9 +29,22 @@ jobs:
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
cache: 'npm'
32+
registry-url: 'https://registry.npmjs.org'
3233

33-
- name: Install dependencies
34-
run: npm ci --legacy-peer-deps
34+
- name: Configure npm for retries
35+
run: |
36+
npm config set fetch-retries 5
37+
npm config set fetch-retry-mintimeout 20000
38+
npm config set fetch-retry-maxtimeout 120000
39+
40+
- name: Install dependencies with retry
41+
run: |
42+
for i in {1..3}; do
43+
npm ci --legacy-peer-deps && break || {
44+
echo "Attempt $i failed, retrying in 30 seconds..."
45+
sleep 30
46+
}
47+
done
3548
3649
- name: Build project
3750
run: npm run build:production

.gitignore

Lines changed: 30 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,42 @@
1-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2-
3-
# dependencies
4-
/node_modules
5-
/.pnp
6-
.pnp.*
7-
.yarn/*
8-
!.yarn/patches
9-
!.yarn/plugins
10-
!.yarn/releases
11-
!.yarn/versions
12-
13-
# testing
14-
/coverage
1+
# Dependencies
2+
node_modules/
3+
.pnp
4+
.pnp.js
5+
6+
# Production builds
7+
out/
8+
build/
9+
dist/
10+
11+
# Next.js
12+
.next/
13+
next-env.d.ts
1514

16-
# next.js
17-
/.next/
18-
/out/
15+
# Environment variables
16+
.env
17+
.env.local
18+
.env.development.local
19+
.env.test.local
20+
.env.production.local
1921

20-
# production
21-
/build
22+
# IDE
23+
.vscode/
24+
.idea/
25+
*.swp
26+
*.swo
2227

23-
# misc
28+
# OS
2429
.DS_Store
25-
*.pem
30+
Thumbs.db
2631

27-
# debug
32+
# Logs
2833
npm-debug.log*
2934
yarn-debug.log*
3035
yarn-error.log*
31-
.pnpm-debug.log*
3236

33-
# env files (can opt-in for committing if needed)
34-
.env*
35-
36-
# vercel
37-
.vercel
38-
39-
# typescript
37+
# TypeScript
4038
*.tsbuildinfo
41-
next-env.d.ts
4239

43-
# docs
44-
docs.md
45-
logo.png
40+
# Miscellaneous
41+
*.log
4642
*.md

bun.lock

Lines changed: 0 additions & 879 deletions
This file was deleted.

index.html

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
<meta name="description" content="Navegue pelo universo interativo de grafos 3D da QuantumGraph. Especialistas em Inteligência Artificial, Machine Learning, Sistemas Agênticos e Computação Quântica.">
88
<meta name="keywords" content="inteligência artificial, machine learning, sistemas agênticos, computação quântica, ciência de dados, LangGraph, RAG, chatbots, automação">
99
<meta name="author" content="Davi Castro Samora">
10+
11+
<!-- Open Graph / Facebook -->
12+
<meta property="og:type" content="website">
13+
<meta property="og:url" content="https://quantum-graph-ai.github.io/Quantum-Graph.github.io/">
14+
<meta property="og:title" content="QuantumGraph - Universo de Soluções em IA">
15+
<meta property="og:description" content="Explore o universo interativo de grafos 3D da QuantumGraph. Sistemas agênticos, Machine Learning e soluções avançadas em IA.">
16+
<meta property="og:locale" content="pt_BR">
17+
18+
<!-- Twitter -->
19+
<meta property="twitter:card" content="summary_large_image">
20+
<meta property="twitter:url" content="https://quantum-graph-ai.github.io/Quantum-Graph.github.io/">
21+
<meta property="twitter:title" content="QuantumGraph - Universo de Soluções em IA">
22+
<meta property="twitter:description" content="Explore o universo interativo de grafos 3D da QuantumGraph. Sistemas agênticos, Machine Learning e soluções avançadas em IA.">
23+
24+
<!-- Performance -->
25+
<link rel="preconnect" href="https://unpkg.com">
26+
<link rel="dns-prefetch" href="https://unpkg.com">
1027
<style>
1128
body {
1229
margin: 0;
@@ -166,7 +183,9 @@ <h2 id="modalTitle"></h2>
166183
</div>
167184

168185
<!-- Three.js via CDN - conforme recomendação do documento para evitar problemas de CORS -->
169-
<script src="https://unpkg.com/three@0.167.0/build/three.min.js"></script>
186+
<script src="https://unpkg.com/three@0.167.0/build/three.min.js"
187+
integrity="sha384-XNMVg7+6ysBLh7lhzjc8j3CuK8jKNOXBBL6HKU0jTM/OAP9rOOiI3AKZPZ5CXmxO"
188+
crossorigin="anonymous"></script>
170189

171190
<script>
172191
// Estado da aplicação

logo.png

1.1 MB
Loading

netlify.toml

Lines changed: 0 additions & 12 deletions
This file was deleted.

package-lock.json

Lines changed: 10 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"@types/node": "^20.17.50",
3535
"@types/react": "^18.3.22",
3636
"@types/react-dom": "^18.3.7",
37-
"cross-env": "^10.0.0",
37+
"cross-env": "^7.0.3",
3838
"eslint": "^9.27.0",
3939
"eslint-config-next": "15.1.7",
4040
"gh-pages": "^6.3.0",

0 commit comments

Comments
 (0)