Skip to content

Commit be8ca45

Browse files
committed
Fix GitHub Pages: add .nojekyll and fix branch name
1 parent 080a7d7 commit be8ca45

3 files changed

Lines changed: 54 additions & 1 deletion

File tree

.github/workflows/deploy-website.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy React Website to GitHub Pages
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [ master ]
66
paths:
77
- 'react-website/**'
88
workflow_dispatch:

react-website/DEPLOYMENT.md

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# GitHub Pages Deployment - Instructions
2+
3+
Il sito React è stato configurato per il deployment automatico su GitHub Pages!
4+
5+
## Cosa è stato fatto
6+
7+
1. ✅ Creato workflow GitHub Actions (`.github/workflows/deploy-website.yml`)
8+
2. ✅ Configurato Vite con base path `/Musly/`
9+
3. ✅ Committato e pushato tutto su GitHub
10+
11+
## Come abilitare GitHub Pages
12+
13+
Per completare il deployment, devi abilitare GitHub Pages nelle impostazioni del repository:
14+
15+
### Passaggi
16+
17+
1. **Vai su GitHub**
18+
- Apri https://github.com/dddevid/Musly
19+
20+
2. **Settings → Pages**
21+
- Nel menu laterale, clicca su **Settings**
22+
- Poi clicca su **Pages** nel menu a sinistra
23+
24+
3. **Configura Source**
25+
- In **Source**, seleziona **GitHub Actions** dal dropdown
26+
- (Non selezionare "Deploy from a branch")
27+
28+
4. **Salva**
29+
- GitHub Actions inizierà automaticamente il deployment
30+
31+
5. **Verifica**
32+
- Vai nella tab **Actions** per vedere il workflow in esecuzione
33+
- Una volta completato (circa 1-2 minuti), il sito sarà disponibile a:
34+
35+
**https://dddevid.github.io/Musly/**
36+
37+
## Deployment Automatico
38+
39+
Ogni volta che fai push di modifiche nella cartella `react-website/`, il sito verrà automaticamente ricompilato e pubblicato.
40+
41+
## Verifica Deployment
42+
43+
Puoi controllare lo stato del deployment:
44+
- Tab **Actions** su GitHub
45+
- Badge verde = deployment riuscito
46+
- Il sito sarà live su: https://dddevid.github.io/Musly/
47+
48+
## Troubleshooting
49+
50+
Se il sito non funziona:
51+
1. Controlla che GitHub Pages sia configurato su **GitHub Actions** (non branch)
52+
2. Verifica che il workflow sia completato con successo nella tab Actions
53+
3. Aspetta qualche minuto - il primo deployment può richiedere tempo

react-website/public/.nojekyll

Whitespace-only changes.

0 commit comments

Comments
 (0)