Replaces the per-repo staging/smoke/production jobs with one call to peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml (target_path=wp-content/plugins/peptide-repo-core). Validated end-to-end on the calculator pilot. Agent-Session: cto rollout-reusable-deploy
26 lines
461 B
YAML
Executable File
26 lines
461 B
YAML
Executable File
name: Deploy to Hostinger
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: deploy-peptide-repo-core
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
name: Pre-deploy CI
|
|
uses: ./.github/workflows/ci.yml
|
|
|
|
deploy:
|
|
name: Deploy (shared pipeline)
|
|
needs: ci
|
|
uses: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main
|
|
with:
|
|
target_path: wp-content/plugins/peptide-repo-core
|
|
secrets: inherit
|