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

sverigesradio/action-deploy-aws-static-site

 
 

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: sverigesradio/action-deploy-aws-static-site@v2
  with:
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    region: eu-north-1
    certificate_arn: arn:partition:service:region:account-id:resource-type/resource-id
    domain: subdomain.example.com
    publish_dir: ./public

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 97.2%
  • JavaScript 2.8%