feat: Add index.html to PR preview deployment

This commit is contained in:
Mauricio Siu 2025-03-09 22:24:27 -06:00
parent 3e0c33244a
commit 3e8da82bc8

View File

@ -18,11 +18,13 @@ jobs:
- uses: actions/checkout@v4
# Si no tienes build, solo copia los archivos
- name: Prepare static preview folder
run: |
mkdir -p preview
cp meta.json preview/
cp -r blueprints preview/
- name: Prepare static preview folder
run: |
mkdir -p preview
cp meta.json preview/
cp -r blueprints preview/
echo "<h1>Preview for PR #${{ github.event.pull_request.number }}</h1>" > preview/index.html
# Despliega el preview usando el action
- uses: rossjrw/pr-preview-action@v1