{"id":20636345,"url":"https://github.com/amraneze/aws-beanstalk-deploy","last_synced_at":"2025-04-15T21:34:42.149Z","repository":{"id":56660634,"uuid":"307172762","full_name":"Amraneze/aws-beanstalk-deploy","owner":"Amraneze","description":"Deploy a project in AWS Elastic Beanstalk","archived":false,"fork":false,"pushed_at":"2022-10-17T10:59:11.000Z","size":1892,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-16T15:05:51.743Z","etag":null,"topics":["aws","aws-ebs","aws-sdk","github","github-actions"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Amraneze.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-25T19:10:02.000Z","updated_at":"2024-01-23T23:05:29.000Z","dependencies_parsed_at":"2023-01-04T12:47:15.804Z","dependency_job_id":null,"html_url":"https://github.com/Amraneze/aws-beanstalk-deploy","commit_stats":{"total_commits":37,"total_committers":7,"mean_commits":5.285714285714286,"dds":0.5675675675675675,"last_synced_commit":"2874f18a3b59ff121fc0aab00c1bf6144d03d298"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amraneze%2Faws-beanstalk-deploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amraneze%2Faws-beanstalk-deploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amraneze%2Faws-beanstalk-deploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Amraneze%2Faws-beanstalk-deploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Amraneze","download_url":"https://codeload.github.com/Amraneze/aws-beanstalk-deploy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224930174,"owners_count":17393951,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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"}},"keywords":["aws","aws-ebs","aws-sdk","github","github-actions"],"created_at":"2024-11-16T15:10:29.930Z","updated_at":"2024-11-16T15:10:30.439Z","avatar_url":"https://github.com/Amraneze.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Github Action] Deploy a project on AWS Elastic Beanstalk\n\n[![Actions Status](https://github.com/Amraneze/get-ebs-env-variables/workflows/master/badge.svg)](https://github.com/Amraneze/aws-beanstalk-deploy/actions)\n[![Actions Status](https://github.com/Amraneze/get-ebs-env-variables/workflows/branch/badge.svg)](https://github.com/Amraneze/aws-beanstalk-deploy/actions)\n\nThis Github Action is mainly for creating and deploying an application to [AWS Elastic Beanstalk](https://aws.amazon.com/fr/elasticbeanstalk/) environment using [aws-sdk](https://www.npmjs.com/package/aws-sdk).\n\n## Usage\n\n## Example\n\n```yaml\nname: Debloy to AWS EBS\non: [push]\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n    - uses: actions/checkout@master\n      - name: Deploy to AWS Elastic Beanstalk\n        uses: Amraneze/aws-beanstalk-deploy@master\n        with:\n          region: AWS_REGION\n          environment_name: ELASTIC_BEANSTALK_ENVIRONMENT_NAME\n          application_name: ELASTIC_BEANSTALK_APPLICATION_NAME\n          aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}\n          aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}\n          s3_bucket_name: S3_BUCKET_NAME\n          s3_file_path: S3_FILE_PATH\n          ebs_version_label: ELASTIC_BEANSTALK_VERSION_LABEL\n          ebs_description: ELASTIC_BEANSTALK_DESCRIPTION\n          ebs_wait_for_env_to_be_green: true\n          updated_version_url: YOUR_API_CHECKPOINT\n          expected_version: EXPECTED_VERSION_TO_BE_DEPLOYED\n          use_same_version: true\n          enable_debug: ${{ secrets.ENABLE_AWS_BS_DEPLOY_DEBUG }}\n          use_same_version: true\n```\n\n## Mandatory Arguments\n\n`aws_access_key` AWS access's key\n`aws_secret_key` AWS secret's key\n`region` is your AWS region where Elastic Beanstalk is running\n`environment_name` AWS Elastic Beanstalk environment's name\n`application_name` AWS Elastic Beanstalk application's name in environment\n`s3_bucket_name` S3 bucket's name that would be used to pull the image or the project\n`s3_file_path` S3 file's path that would be uploaded to the S3 bucket\n`ebs_version_label` AWS Elastic Beanstalk version label to add to the build\n\n## Outputs\n\n`ApplicationName` AWS Elastic Beanstalk application's name\n`CNAME` AWS Elastic Beanstalk application's CNAME\n`EndpointURL` AWS Elastic Beanstalk application's endpoint url\n`Health` AWS Elastic Beanstalk application's health\n`Status` AWS Elastic Beanstalk application's status\n`VersionLabel` AWS Elastic Beanstalk application's version label\n\n```json\n{\n  \"ApplicationName\": \"my-app\",\n  \"CNAME\": \"my-env.elasticbeanstalk.com\",\n  \"DateCreated\": \"2020-10-12T20:30:00.000Z\",\n  \"DateUpdated\": \"2020-10-26T20:30:00.000Z\",\n  \"EndpointURL\": \"awseb-e-i-AWSEBLoa-1RDLX6TC9VUAO-0123456789.us-west-2.elb.amazonaws.com\",\n  \"EnvironmentId\": \"e-szqipays4h\",\n  \"EnvironmentName\": \"my-env\",\n  \"Health\": \"Grey\",\n  \"SolutionStackName\": \"64bit Amazon Linux running Tomcat 7\",\n  \"Status\": \"Updating\",\n  \"Tier\": {\n    \"Name\": \"WebServer\",\n    \"Type\": \"Standard\",\n    \"Version\": \" \"\n  },\n  \"VersionLabel\": \"v2\"\n}\n```\n\n\u003e Note: Check AWS SDK for more information [updateEnvironment-property](https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/ElasticBeanstalk.html#updateEnvironment-property)\n\n## Optional Arguments\n\n### registry\n\n`ebs_description` AWS Elastic Beanstalk application's description\n`ebs_wait_for_env_to_be_green` true if you want to wait for the application to be green, otherwise false\n`updated_version_url` your application endpoint to be checked after finishing deployment\n`expected_version` the expected version that should be installed in your AWS Elastic Beanstalk application\n`enable_debug` true if you want to see debug logs, otherwise false\n`use_same_version` if you want to use the same version when creating an AWS Elastic Beanstalk application\n\n\u003e Note: you should use both arguments `updated_version_url` and `expected_version` if you want to check the version. We are only getting a text not a json and finding if the text includes the version.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famraneze%2Faws-beanstalk-deploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famraneze%2Faws-beanstalk-deploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famraneze%2Faws-beanstalk-deploy/lists"}