chore: Update PR preview deployment with static index.html

This commit is contained in:
Mauricio Siu 2025-03-09 22:29:11 -06:00
parent 3e8da82bc8
commit 18072c86ec
2 changed files with 6 additions and 2 deletions

View File

@ -23,8 +23,7 @@ jobs:
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
cp index.html preview/
# Despliega el preview usando el action
- uses: rossjrw/pr-preview-action@v1

5
index.html Normal file
View File

@ -0,0 +1,5 @@
<h1>Blueprints Preview</h1>
<ul>
<li><a href="./meta.json">meta.json</a></li>
<li><a href="./blueprints/">blueprints folder</a></li>
</ul>