Skip to content

Commit bcd6b08

Browse files
committed
[UGRADE] V1.1📎
1 parent c50398e commit bcd6b08

3 files changed

Lines changed: 44 additions & 3 deletions

File tree

.github/workflows/gh-pages.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Deploy Astro to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: write # ✅ PERMISO PARA CREAR gh-pages
13+
14+
steps:
15+
- name: Checkout repository
16+
uses: actions/checkout@v3
17+
with:
18+
fetch-depth: 0
19+
persist-credentials: false # ✅ NECESARIO PARA SOLUCIONAR EL ERROR 128
20+
21+
- name: Setup Node
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: 18
25+
26+
- name: Install dependencies
27+
run: npm ci
28+
29+
- name: Build project
30+
run: npm run build
31+
32+
- name: Deploy to GitHub Pages 🚀
33+
uses: peaceiris/actions-gh-pages@v3
34+
with:
35+
github_token: ${{ secrets.GITHUB_TOKEN }}
36+
publish_dir: ./dist
37+
publish_branch: gh-pages

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Mis lenguajes favoritos son `JavaScript`, `Python` y `PHP`, es muy importante te
2424
```js
2525
const Proyectos = [
2626
{ name: "🌱AgroSys", url: " www.github.com/brayanSramos/AgroSys " },
27-
{ name: "📘", url: "" },
27+
{ name: "📘 ", url: "" },
2828
{ name: "📒 ", url: "" },
2929
{ name: "📓 ", url: "" },
3030
{ name: "🎁 ", url: "" }
@@ -142,4 +142,4 @@ const Proyectos = [
142142
![Lej: braynSramos](https://img.shields.io/badge/Indeed-003A9B?style=for-the-badge&logo=Indeed&logoColor=white)
143143
![Lej: braynSramos](https://img.shields.io/badge/NVIDIA-GTX1650-76B900?style=for-the-badge&logo=nvidia&logoColor=white)
144144
![Lej: braynSramos](https://img.shields.io/badge/Intel%20Core_i5_10th-0071C5?style=for-the-badge&logo=intel&logoColor=white)
145-
![Lej: braynSramos](https://img.shields.io/badge/Windows%20ASUS_Zenbook_3-0078D6?style=for-the-badge&logo=windows&logoColor=white)
145+
![Lej: braynSramos](https://img.shields.io/badge/Windows%20ASUS_Zenbook_3-0078D6?style=for-the-badge&logo=windows&logoColor=white)

astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@ import react from "@astrojs/react";//Dependecia de React-👾
44

55
// https://astro.build/config
66
export default defineConfig({
7+
// Cambia USERNAME y REPO_NAME por los tuyos
8+
site: 'https://brayanSramos.github.io/',
9+
base: '/', // Asegura rutas limpias (sin /Mi-Porfolio/)
10+
output: 'static',
711
integrations: [tailwind(), //Configuracion de Tailwind-👾
812
react(),
913
]
10-
});
14+
});

0 commit comments

Comments
 (0)