Files
peptide-news-plugin/.github/workflows/deploy.yml
peptiderepo ff474326fb Adopt reusable CI standard (#30)
Squash-merged from claude/adopt-ci-20260616.

QA-approved; all CI checks green on 3b4e3f04.

Agent-Session: deploy-ci-rollout-news-plugin-2026-06-16
2026-06-16 21:30:24 +07:00

30 lines
753 B
YAML
Executable File

name: Deploy to WordPress
on:
push:
branches: [ main ]
# contents: write required so the ci.yml caller can pass write permission
# through to the phpcbf auto-commit step in the reusable workflow.
# (phpcbf commit only fires on pull_request events, but GH enforces caller
# permissions at token-grant time, not at step-execution time.)
permissions:
contents: write
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