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: peptiderepo/peptide-e2e/.github/workflows/deploy-app.yml@main with: target_path: wp-content/themes/peptide-starter secrets: inherit