mirror of
https://github.com/Dokploy/templates
synced 2025-06-26 18:16:07 +00:00
feat: Add index.html to PR preview deployment
This commit is contained in:
parent
3e0c33244a
commit
3e8da82bc8
12
.github/workflows/deploy.yml
vendored
12
.github/workflows/deploy.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user