Skip to content

Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets

License

Notifications You must be signed in to change notification settings

onramper/action-deploy-aws-static-site

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date
Sep 6, 2023
Aug 13, 2020
Sep 6, 2023
Sep 6, 2023
Oct 12, 2020
Aug 13, 2020
Sep 6, 2023
Aug 13, 2020
Sep 6, 2023
Sep 6, 2023
Aug 13, 2020
Feb 27, 2025
Feb 27, 2025
Aug 13, 2020

Repository files navigation

Deploy static site to AWS

Batteries-included Github action that deploys a static site to AWS Cloudfront, taking care of DNS, SSL certs and S3 buckets

Usage

- name: Deploy to AWS
  uses: onramper/[email protected]
  with:
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    domain: subdomain.example.com
    publish_dir: ./public

Make sure to add your domain to Route 53 as hosted zone and add an NS record if needed. An A record will be automatically added by the action.