From 6d43411d591ef5fcd777e6a6c7f3b72f7a5c5670 Mon Sep 17 00:00:00 2001 From: KYK <152796603+KEVINDBP@users.noreply.github.com> Date: Thu, 23 Oct 2025 08:50:19 -0500 Subject: [PATCH 1/5] Update site URL in astro.config.mjs --- astro.config.mjs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 2220bb6a3..3b601a464 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,7 +7,7 @@ import icon from "astro-icon"; // https://astro.build/config export default defineConfig({ - site: "https://neonmint.efeele.dev", + site: "https://Kevinportafo.github.io", integrations: [preact(), icon(), sitemap({ filter: (page) => !page.includes("/blog/tags") && @@ -22,4 +22,4 @@ export default defineConfig({ theme: 'github-dark' }, }, -}); \ No newline at end of file +}); From dbe73fa16ca674429389dd01c2cd81d8faa618d0 Mon Sep 17 00:00:00 2001 From: KYK <152796603+KEVINDBP@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:02:37 -0500 Subject: [PATCH 2/5] Add deploy configuration --- .github/workflows/deploy.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 000000000..a94c88a7b --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,39 @@ +name: Deploy to GitHub Pages + +on: + # Activa el flujo de trabajo cada vez que hagas push a la rama `main` + # Usando un nombre de rama diferente? Reemplaza `main` con el nombre de tu rama + push: + branches: [ main ] + # Te permite ejecutar este flujo de trabajo manualmente desde la pestaña Acciones en GitHub. + workflow_dispatch: + +# Permite que este trabajo clone el repositorio y cree un despliegue de página +permissions: + contents: read + pages: write + id-token: write + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout your repository using git + uses: actions/checkout@v4 + - name: Install, build, and upload your site + uses: withastro/action@v3 + # with: + # path: . # La ubicación raíz de tu proyecto de Astro dentro del repositorio. (opcional) + # node-version: 20 # La versión específica de Node que debería usarse para construir tu sitio. Por defecto es 20. (opcional) + # package-manager: pnpm@latest # El gestor de paquetes de Node que debería usarse para instalar dependencias y construir tu sitio. Detectado automáticamente basado en tu lockfile. (opcional) + + deploy: + needs: build + runs-on: ubuntu-latest + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4 \ No newline at end of file From 835e269310a5ca319ff4822b641a366274102d7a Mon Sep 17 00:00:00 2001 From: KYK <152796603+KEVINDBP@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:20:56 -0500 Subject: [PATCH 3/5] Add deploy configuration --- .github/workflows/deploy.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index a94c88a7b..3fdde5bdb 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,5 +1,4 @@ name: Deploy to GitHub Pages - on: # Activa el flujo de trabajo cada vez que hagas push a la rama `main` # Usando un nombre de rama diferente? Reemplaza `main` con el nombre de tu rama From 8ed1fad2c4fe6968de6758686962ba3500903164 Mon Sep 17 00:00:00 2001 From: KYK <152796603+KEVINDBP@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:21:28 -0500 Subject: [PATCH 4/5] Create CNAME --- CNAME | 1 + 1 file changed, 1 insertion(+) create mode 100644 CNAME diff --git a/CNAME b/CNAME new file mode 100644 index 000000000..93765f006 --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +www.kevinportafo.com \ No newline at end of file From 75a45192eb9772fc707ff738a2c22db2b85fab69 Mon Sep 17 00:00:00 2001 From: KYK <152796603+KEVINDBP@users.noreply.github.com> Date: Thu, 23 Oct 2025 09:22:03 -0500 Subject: [PATCH 5/5] Add Jekyll GitHub Pages deployment workflow This workflow builds and deploys a Jekyll site to GitHub Pages, with preinstalled dependencies and proper permissions. --- .github/workflows/jekyll-gh-pages.yml | 51 +++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 .github/workflows/jekyll-gh-pages.yml diff --git a/.github/workflows/jekyll-gh-pages.yml b/.github/workflows/jekyll-gh-pages.yml new file mode 100644 index 000000000..e31d81c58 --- /dev/null +++ b/.github/workflows/jekyll-gh-pages.yml @@ -0,0 +1,51 @@ +# Sample workflow for building and deploying a Jekyll site to GitHub Pages +name: Deploy Jekyll with GitHub Pages dependencies preinstalled + +on: + # Runs on pushes targeting the default branch + push: + branches: ["main"] + + # Allows you to run this workflow manually from the Actions tab + workflow_dispatch: + +# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages +permissions: + contents: read + pages: write + id-token: write + +# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. +# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. +concurrency: + group: "pages" + cancel-in-progress: false + +jobs: + # Build job + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Setup Pages + uses: actions/configure-pages@v5 + - name: Build with Jekyll + uses: actions/jekyll-build-pages@v1 + with: + source: ./ + destination: ./_site + - name: Upload artifact + uses: actions/upload-pages-artifact@v3 + + # Deployment job + deploy: + environment: + name: github-pages + url: ${{ steps.deployment.outputs.page_url }} + runs-on: ubuntu-latest + needs: build + steps: + - name: Deploy to GitHub Pages + id: deployment + uses: actions/deploy-pages@v4