templates/.github/workflows/deploy.yml
Workflow config file is invalid. Please check your config file: yaml: line 11: did not find expected key
2025-03-09 22:31:02 -06:00

29 lines
575 B
YAML

name: Deploy PR previews
on:
pull_request:
branches:
- main
# concurrency: preview-${{ github.ref }}
jobs:
deploy-preview:
runs-on: ubuntu-latest
steps:
- 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/
cp index.html preview/
# Despliega el preview usando el action
- uses: rossjrw/pr-preview-action@v1
with:
source-dir: preview