DAPE.work

GitHub Actions: Static Site Deployment

Automate deployment of static websites to S3 or similar hosts via GitHub Actions.

Expected time saved: 3 hours/week

Complexity: Beginner

Steps:

  1. 1 - Generate build
  2. 2 - Sync to S3
  3. 3 - Invalidate CDN
  4. 4 - Notify

Tools:
GitHub Actions

Example

aws s3 sync build/ s3://example

Tags

github static-sites