Skip to content

Merge pull request #10 from SamuelCubano/samu #25

Merge pull request #10 from SamuelCubano/samu

Merge pull request #10 from SamuelCubano/samu #25

Workflow file for this run

name: Build and Deploy
on:
push:
branches:
- main
- samu
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install and Build
run: |
npm install
# CORRECCIÓN: Solo el nombre del repo entre barras
npx ng build --configuration production --base-href /PixelMD-github-profile-readme-generator/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
# CORRECCIÓN: Verifica si el nombre de la carpeta es pixel-md o similar
folder: dist/pixelmd/browser
branch: gh-pages # CORRECCIÓN: Usa una rama distinta a main