Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
upload-cloud

GitHub Action

Deploy static site to AWS

v1.0.0

Deploy static site to AWS

upload-cloud

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

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Deploy static site to AWS

uses: onramper/action-deploy-aws-static-site@v1.0.0

Learn more about this action in onramper/action-deploy-aws-static-site

Choose a version

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/action-deploy-aws-static-site@v1
  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