Skip to content

Instantly share code, notes, and snippets.

@akiya64
Last active June 18, 2017 11:01
Show Gist options
  • Select an option

  • Save akiya64/28bb9786869ad6a4f6308148f933f6a7 to your computer and use it in GitHub Desktop.

Select an option

Save akiya64/28bb9786869ad6a4f6308148f933f6a7 to your computer and use it in GitHub Desktop.
Automatic WordPressTheme Deployment Sequence
@startuml
skinparam BoxPadding 10
Local -> Master :Push
box "GitHub" #gainsboro
participant Master
participant Release
end box
Box "TravisCI" #khaki
Master -> PreRelease:Push & Checkout
activate PreRelease
PreRelease->PreRelease :CodeSniffer
note right #white
Check & Fix by PHP CodeSniffer
Use WordPress standard coding
end note
PreRelease->PreRelease :Build
alt BuildSuccess
PreRelease -> Release:Push
end
deactivate PreRelease
end box
Box "WordPress" #lightskyblue
Release -> "WP Pusher" :Push
"WP Pusher" -> Themes :Deploy
end Box
@enduml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment