Replaces the repo-local staging/smoke/production jobs with a single call to peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml. Deploy logic is now centralized; this repo just passes its target_path. Pilot for the rollout. Agent-Session: cto adopt-reusable-deploy
26 lines
493 B
YAML
Executable File
26 lines
493 B
YAML
Executable File
name: Deploy to Hostinger
|
|
|
|
on:
|
|
push:
|
|
branches: [ main ]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
concurrency:
|
|
group: deploy-peptide-reconstitution-calculator
|
|
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-reconstitution-calculator
|
|
secrets: inherit
|