Skip to content

Commit

Permalink
Update deploy.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoDiazL authored Aug 1, 2024
1 parent 8138586 commit c377427
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,20 @@ jobs:

steps:
- name: 0
uses: bitovi/github-actions-deploy-static-site-to-aws@main
uses: bitovi/github-actions-deploy-static-site-to-aws@add-cloudfront-customizable-error-response
with:
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID_SANDBOX}}
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY_SANDBOX}}
aws_default_region: us-east-1

tf_action: 'destroy'
tf_action: 'apply'
tf_state_bucket_destroy: true
#aws_resource_identifier: bitovi-devops-training-ec2-gha-example-static-site
aws_site_cdn_enabled: true
aws_site_cdn_custom_error_codes: '{"error_caching_min_ttl"="0","error_code"="403","response_code"="200", "response_page_path"="/custom_404.html"}'
# You should own and have this domain available in R53
aws_r53_domain_name: bitovi-sandbox.com
#aws_r53_sub_domain_name: bitovi-devops-training-ec2-gha-example-static-site
aws_r53_sub_domain_name: bitovi-devops-training-ec2-gha-example-static-site
aws_r53_create_sub_cert: true # Will create and validate a cert for this sub-domain


0 comments on commit c377427

Please sign in to comment.