A red CI that got merged anyway. A server key in a public repository. This is where the course began: FTP and "last upload wins". In this module a robot checks every push, main refuses red PRs, and a v1.3 tag ships the release by itself, to your server or to wordpress.org SVN.
GitHub Actions workflows, PR checks and branch protection, secrets, deploy from main or by tag
How
4 lessons on you/my-plugin: CI on PR #42 is red, main isn't protected, no secrets. You fix all three in the gh terminal
The end of FTP
sequenceDiagram
participant D as You
participant GH as GitHub
participant A as Actions
participant S as Server
D->>GH: git push origin v1.3
GH->>A: deploy workflow (on: tags v*)
A->>A: build, phpcs, tests
A-->>D: production: waiting for approval
D->>A: Approve
A->>S: deploy (secrets.DEPLOY_SSH_KEY)
A-->>D: ✓ released