mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
chore: Update PR preview deployment with static index.html
This commit is contained in:
3
.github/workflows/deploy.yml
vendored
3
.github/workflows/deploy.yml
vendored
@@ -23,8 +23,7 @@ jobs:
|
|||||||
mkdir -p preview
|
mkdir -p preview
|
||||||
cp meta.json preview/
|
cp meta.json preview/
|
||||||
cp -r blueprints 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
|
# Despliega el preview usando el action
|
||||||
- uses: rossjrw/pr-preview-action@v1
|
- uses: rossjrw/pr-preview-action@v1
|
||||||
|
|||||||
5
index.html
Normal file
5
index.html
Normal 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>
|
||||||
Reference in New Issue
Block a user