-
Notifications
You must be signed in to change notification settings - Fork 0
34 lines (29 loc) 路 851 Bytes
/
Copy pathdeploy.yml
File metadata and controls
34 lines (29 loc) 路 851 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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