- ci.yml → thin caller of peptide-e2e reusable CI (tests: brain-monkey) + keep check-constants as parallel job; workflow_call trigger enabled - deploy.yml: retire standalone validate job; gate on ci.yml via workflow_call - composer.json: add 'test' script (vendor/bin/phpunit --testdox) - Version bumped to 0.22.0 300-line splits (9 files over limit → all under 300): - class-keyword-extractor.php: shared tokeniser from Idea_Scorer + Semantic_Dedup - class-image-aspect-ratio.php: aspect-ratio snap from OR provider + OR batch - class-settings-sanitizer.php: option sanitization from Admin_Page - class-settings-fields-images.php: image fields from Settings_Fields_Extended - class-runware-image-validator.php: credential check from Runware_Image_Provider - Runware batch: 15 phpcs:disable lines → 1 grouped suppression Agent-Session: claude/adopt-ci-20260616
26 lines
517 B
YAML
Executable File
26 lines
517 B
YAML
Executable File
name: Deploy PRAutoBlogger to Hostinger
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: deploy-prautoblogger-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
name: CI Gate (reusable)
|
|
uses: ./.github/workflows/ci.yml
|
|
permissions:
|
|
contents: write
|
|
secrets: inherit
|
|
|
|
deploy:
|
|
name: Deploy (shared pipeline)
|
|
needs: ci
|
|
uses: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main
|
|
with:
|
|
target_path: wp-content/plugins/prautoblogger
|
|
secrets: inherit
|