Files
peptide-news-plugin/.github/workflows/deploy.yml
peptiderepo 0b247646ca ci: adopt shared reusable deploy workflow (#28)
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-news-plugin).
Validated end-to-end on the calculator pilot.

Agent-Session: cto rollout-reusable-deploy
2026-06-09 19:15:58 +07:00

26 lines
472 B
YAML
Executable File

name: Deploy to WordPress
on:
push:
branches: [ main ]
permissions:
contents: read
concurrency:
group: deploy-peptide-news-plugin
cancel-in-progress: true
jobs:
test:
name: Pre-deploy tests
uses: ./.github/workflows/ci.yml
deploy:
name: Deploy (shared pipeline)
needs: test
uses: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main
with:
target_path: wp-content/plugins/peptide-news-plugin
secrets: inherit