Files
peptide-starter-theme/.github/workflows/deploy.yml
peptiderepo d1c36f6fbd ci: fix peptide-e2e org ref + deploy.yml permissions (#62)
Fix stale peptiderepo/peptide-e2e refs.

Agent-Session: fix-e2e-ref-20260617
2026-06-17 11:37:55 +07:00

26 lines
690 B
YAML

name: Deploy Theme to Hostinger
on:
push:
branches: [main]
concurrency:
group: deploy-peptide-starter-theme
cancel-in-progress: true
jobs:
# Gate deploy on the reusable CI (lint-php, phpcs, phpunit, file-size, lint-js).
# ci.yml exposes workflow_call so it can be used here without re-running a
# separate workflow — the call result satisfies the branch-protection context
# "ci / ci (lint-php (8.1))" etc.
ci:
uses: ./.github/workflows/ci.yml
deploy:
name: Deploy (shared pipeline)
needs: ci
uses: peptide-repo/peptide-e2e/.github/workflows/deploy-app.yml@main
with:
target_path: wp-content/themes/peptide-starter
secrets: inherit