Skip to content

Instantly share code, notes, and snippets.

@Oreoxmt
Created December 25, 2023 10:14
Show Gist options
  • Save Oreoxmt/e8f90307e9098baf07fdada5e07b380c to your computer and use it in GitHub Desktop.
Save Oreoxmt/e8f90307e9098baf07fdada5e07b380c to your computer and use it in GitHub Desktop.
```plantuml
@startuml
hide empty description
[*] --> fork
fork --> UpdateScaffold
state "update scaffold" as UpdateScaffold {
state "Terminal" as UpdateScaffoldScript
UpdateScaffoldScript: sync_scaffold.sh\n\n
state "GitHub Actions" as UpdateScaffoldGHA
UpdateScaffoldGHA: sync_scaffold.yml\n\n
}
UpdateScaffold -right-> UpdateContent
state "update content" as UpdateContent {
state "from a PR" as PR
state "from multi PRs" as PRs
state manual
PR: sync_pr.sh\n
PR: sync_pr.yml
PRs: sync_mult_prs.sh\n
PRs: sync_mult_prs.yml
manual: markdown-pages\n\n
}
state "periodic update" as PeriodicUpdate{
PeriodicUpdate: GitHub Actions\n\nsync_scheduler.yml
}
PeriodicUpdate -[dashed]-> UpdateContent
state "deploy website" as DeployWebsite {
state local
local: ./build.sh dev\n\n
state cloud
cloud: Netlify
cloud: Vercel
cloud: Cloudflare Pages
}
UpdateContent --> DeployWebsite
@enduml
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment