Workbench

How this project ships

How this project ships

You send your changes. GitHub tests and packages them. Your server only runs the result.

An example board, not the whole story
0
builds on your server
0
doors left open on your server
100%
of updates tested first
2
copies of your app: one to try, one live
  1. You Your changes Sent from any branch
  2. GitHub Tested automatically Built and checked on GitHub
  3. GitHub Packaged Ready to install
  4. Your server Switched over Your server switches to the new version
  5. Online Reachable safely Nothing left open
  6. Online Your users On the new version

Two copies of your app: one to try, one live

Test

Any version you want to try Whenever you ask for it
gh workflow run cd-test.yml --ref <branch>

Live

A version you publish from main Whenever you publish a new one
git push origin v<version>

No downtime: the new version starts beside the old one

Visitors keep using the old one until the new one is ready.

Replaced
Web app live
Web app starting ready
Landing page live
Landing page starting ready
Kept running
SQLite
Files
  1. Download
  2. Settings
  3. Update data
  4. Start
  5. Switch
  6. Check
  7. Refresh cache

The phone and desktop apps come from the same update

Windows An installer that updates itself Off until you publish it
Android Ready for Google Play Off until you publish it
iOS Ready for the App Store, no Mac needed Off until you publish it
  • SERVER_ADDRESS
  • APP_TITLE
  • APP_ID
  • LANDING_PAGE_ADDRESS
  • SMTP_CONNECTION_STRING
  • APP_CERTIFICATE
  • CLOUDFLARE_TUNNEL_TOKEN
  • CLOUDFLARE_ZONE
  • CLOUDFLARE_TOKEN
  • PUBLIC_VAPIDKEY
  • PRIVATE_VAPIDKEY
  • VAPID_SUBJECT
  • ANDROID_RELEASE_*
  • APPSTORE_*
Secret Setting
  • .github/workflows/cd-template.yml
  • .github/workflows/cd-test.yml
  • .github/workflows/cd-production.yml
  • .github/workflows/ci.yml
  • .docs/16- CI-CD Pipeline and Environments.md
  • .github/agents/deploy.agent.md
Agent is not connected Limited experience