@fabioplunser/epd 0.3.0 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,8 @@ Multiple machines, load balancing and failover are first-class: replicas are
25
25
  balanced by Traefik, and with `cross_host: true` every server's proxy balances
26
26
  across every server's replicas, so one machine can serve while another is down.
27
27
 
28
- 📖 **For the in-depth user manual and complete configuration reference, see the [Complete Guide](docs/guide.md).**
28
+ 📖 **Documentation Site:** [epd.peppi.dev](https://epd.peppi.dev)
29
+ 📖 **User Manual & Full Reference:** [Complete Guide](docs/guide.md)
29
30
 
30
31
  ---
31
32
 
@@ -439,6 +440,53 @@ they need Docker on their host.
439
440
 
440
441
  ---
441
442
 
443
+ ## Automated Deployments with GitHub Actions (CI/CD)
444
+
445
+ `epd` can be run directly inside GitHub Actions on push to `main`. Because your entire deployment configuration (services, replicas, ports, health probes, zero-downtime blue/green slots, accessories, domains, and DNS sync) lives in `epd.yml`, you only need a single minimal step in GitHub Actions:
446
+
447
+ ```yaml
448
+ # .github/workflows/deploy.yml
449
+ name: Deploy
450
+
451
+ on:
452
+ push:
453
+ branches: [main]
454
+
455
+ concurrency:
456
+ group: deploy-${{ github.ref }}
457
+ cancel-in-progress: false
458
+
459
+ jobs:
460
+ deploy:
461
+ runs-on: ubuntu-latest
462
+ steps:
463
+ - uses: actions/checkout@v4
464
+
465
+ - name: Configure SSH Key
466
+ uses: webfactory/ssh-agent@v0.9.0
467
+ with:
468
+ ssh-private-key: ${{ secrets.SSH_PRIVATE_KEY }}
469
+
470
+ - name: Deploy with EPD
471
+ run: npx @fabioplunser/epd deploy
472
+ env:
473
+ # Optional DNS and Cloud Provider Tokens
474
+ CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
475
+ HETZNER_API_TOKEN: ${{ secrets.HETZNER_API_TOKEN }}
476
+ HETZNER_DNS_API_TOKEN: ${{ secrets.HETZNER_DNS_API_TOKEN }}
477
+ # App secrets referenced in epd.yml
478
+ DATABASE_URL: ${{ secrets.DATABASE_URL }}
479
+ ```
480
+
481
+ Generate this workflow file automatically when creating your project:
482
+ ```bash
483
+ epd init --ci
484
+ ```
485
+
486
+ For detailed guides on setting up SSH deploy keys, using GitHub Container Registry (`ghcr.io`), or multi-environment deployments, see the [GitHub Actions CI/CD Guide](https://epd.peppi.dev/ci-cd).
487
+
488
+ ---
489
+
442
490
  ## Commands
443
491
 
444
492
  | Command | What it does |
@@ -458,6 +506,7 @@ they need Docker on their host.
458
506
  | `epd lock status\|release` | The deploy lock |
459
507
  | `epd dns [sync\|status]` | Unified DNS automation (Cloudflare & Hetzner DNS) |
460
508
  | `epd hetzner list\|create\|delete` | Manage and provision Hetzner Cloud servers |
509
+ | `epd update [--check]` | Check for updates and upgrade epd to the latest version |
461
510
  | `epd cloudflare dns [sync\|status]` | Cloudflare DNS record management (alias for `epd dns`) |
462
511
  | `epd remove` | Stop this app and delete its files from the servers |
463
512