Fix stale peptiderepo/peptide-e2e refs and deploy.yml permissions. Agent-Session: fix-e2e-ref-20260617
28 lines
604 B
YAML
Executable File
28 lines
604 B
YAML
Executable File
name: Deploy to Hostinger
|
|
|
|
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.
|
|
permissions:
|
|
contents: write
|
|
|
|
concurrency:
|
|
group: deploy-peptide-repo-core
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
name: Pre-deploy 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/plugins/peptide-repo-core
|
|
secrets: inherit
|