{"id":5802076,"name":"aasmal97/deploy-react-app-to-aws","ecosystem":"actions","description":"Deploys a React App to an S3 bucket, and then invalidates the Cloudfront cache for it.","homepage":"https://github.com/marketplace/actions/deploy-react-app-to-aws","licenses":null,"normalized_licenses":[],"repository_url":"https://github.com/aasmal97/deploy-react-app-to-aws","keywords_array":["aws","aws-s3","cloudfront","deployment","github-actions","react","single-page-app","single-page-applications","utilities"],"namespace":"aasmal97","versions_count":4,"first_release_published_at":"2022-12-08T02:08:36.000Z","latest_release_published_at":"2023-04-20T05:31:17.000Z","latest_release_number":"v1.3.0","latest_published_release_number":null,"last_synced_at":"2026-10-10T23:07:10.491Z","created_at":"2023-01-04T13:33:19.247Z","updated_at":"2026-10-10T23:07:10.491Z","registry_url":"https://github.com/aasmal97/deploy-react-app-to-aws","install_command":null,"documentation_url":null,"metadata":{"name":"deploy-react-app-to-aws","author":"Arky Asmal","description":"Deploys a React App to an S3 bucket, and then invalidates the Cloudfront cache for it.","inputs":{"aws_region":{"type":"string","required":true},"aws_access_key_id":{"type":"string","required":true},"aws_secret_access_key":{"type":"string","required":true},"cloudfront_distribution_id":{"type":"string","default":"1","required":false},"bucket_name":{"type":"string","required":true},"react_app_secrets":{"default":"{}","required":false},"node_verison":{"type":"string","default":16,"required":false},"path_to_app":{"type":"string","required":true}},"runs":{"using":"composite","steps":[{"uses":"actions/checkout@v1"},{"name":"Setup Node","uses":"actions/setup-node@v2","with":{"node-version":"${{ inputs.node_version }}"}},{"name":"Extract React App environment variables","uses":"aasmal97/create-react-app-env@2.0.0","with":{"REACT_APP_SECRETS":"${{ inputs.react_app_secrets }}"}},{"name":"Build static site","shell":"bash","run":"cd ${{ inputs.path_to_app }}\nnpm install\nnpm run build\n"},{"name":"Configure AWS Credentials","uses":"aws-actions/configure-aws-credentials@v1","with":{"aws-access-key-id":"${{ inputs.aws_access_key_id }}","aws-secret-access-key":"${{ inputs.aws_secret_access_key }}","aws-region":"${{ inputs.aws_region }}"}},{"name":"Deploy static site to S3 bucket","shell":"bash","run":"cd ${{ inputs.path_to_app }}\naws s3 sync ./build s3://${{ inputs.bucket_name }} --delete\n"},{"name":"Invalidate Cloudfront cache","uses":"chetan/invalidate-cloudfront-action@v2","continue-on-error":true,"env":{"DISTRIBUTION":"${{ inputs.cloudfront_distribution_id }}","PATHS":"/*","AWS_REGION":"${{ inputs.aws_region }}","AWS_ACCESS_KEY_ID":"${{ inputs.aws_access_key_id }}","AWS_SECRET_ACCESS_KEY":"${{ inputs.aws_secret_access_key }}"}}]},"default_branch":"master","path":null},"repo_metadata":{"id":64420484,"uuid":"575650254","full_name":"aasmal97/deploy-static-app-to-aws","owner":"aasmal97","description":"This Github Action deploys a static (SPA, SSG or single HTML File) application, to an S3 bucket, and then invalidates the Cloudfront cache so changes are quickly seen","archived":false,"fork":false,"pushed_at":"2025-04-28T05:13:57.000Z","size":387,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-09-20T04:11:53.334Z","etag":null,"topics":["aws","aws-s3","cloudfront","deployment","github-actions","single-page-application","static-site","static-site-generator","utilities"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/deploy-static-app-to-aws","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aasmal97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["aasmal97"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":"arkyasmal","thanks_dev":null,"custom":null}},"created_at":"2022-12-08T01:48:14.000Z","updated_at":"2025-04-28T05:12:33.000Z","dependencies_parsed_at":"2025-01-03T06:26:15.033Z","dependency_job_id":"ddb5c020-8b94-4991-bd53-5a6e1d73badf","html_url":"https://github.com/aasmal97/deploy-static-app-to-aws","commit_stats":{"total_commits":46,"total_committers":1,"mean_commits":46.0,"dds":0.0,"last_synced_commit":"a80fca9c28af2031d7c6cd969cb4efde0ec55912"},"previous_names":["aasmal97/deploy-static-site-to-aws","aasmal97/deploy-static-app-to-aws","aasmal97/deploy-react-app-to-aws"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/aasmal97/deploy-static-app-to-aws","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aasmal97","download_url":"https://codeload.github.com/aasmal97/deploy-static-app-to-aws/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37519246,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-20T02:00:06.856Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"aasmal97","name":"Arky Asmal","uuid":"74555081","kind":"user","description":"Interested in Edtech and Health","email":"","website":"arkyasmal.com","location":"New York","twitter":null,"company":"@visualum-engineers ","icon_url":"https://avatars.githubusercontent.com/u/74555081?u=6a96cfa63c1d31b2f455c37048daeb33e5e77408\u0026v=4","repositories_count":7,"last_synced_at":"2023-03-09T16:05:14.484Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/aasmal97","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-19T05:58:58.008Z","updated_at":"2023-03-09T16:05:14.490Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aasmal97","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aasmal97/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-09-20T08:16:17.481Z","dependent_packages_count":0,"downloads":null,"downloads_period":null,"dependent_repos_count":1,"rankings":{"downloads":null,"dependent_repos_count":24.77895737601014,"dependent_packages_count":0.0,"stargazers_count":34.720329583267315,"forks_count":35.18301378545397,"docker_downloads_count":null,"average":23.67057518618286},"purl":"pkg:githubactions/aasmal97/deploy-react-app-to-aws","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/actions/aasmal97/deploy-react-app-to-aws","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/actions/aasmal97/deploy-react-app-to-aws","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/actions/aasmal97/deploy-react-app-to-aws/dependencies","status":null,"funding_links":["https://github.com/sponsors/aasmal97","https://buymeacoffee.com/arkyasmal"],"critical":null,"issue_metadata":{"last_synced_at":"2025-03-03T14:45:40.384Z","issues_count":0,"pull_requests_count":0,"avg_time_to_close_issue":null,"avg_time_to_close_pull_request":null,"issues_closed_count":0,"pull_requests_closed_count":0,"pull_request_authors_count":0,"issue_authors_count":0,"avg_comments_per_issue":null,"avg_comments_per_pull_request":null,"merged_pull_requests_count":0,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":0,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/aasmal97%2Fdeploy-static-app-to-aws/issues","maintainers":[],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/github%20actions/packages/aasmal97%2Fdeploy-react-app-to-aws/codemeta","maintainers":[]}