[Answered ]-Github actions deploy django application to elastic beanstalk

1👍

    uses: einaregilsson/beanstalk-deploy@v20
    with:
      aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
      aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
      application_name: project-pit
      environment_name: project-pit-cloud
      version_label: 12345
      region: ap-southeast-2
      deployment_package: deploy.zip
      wait_for_environment_recovery: 60

wait_for_environment_recovery is an environment variable that sets how long to wait for the state of the Elastic Beanstalk instance to recover.

The default value is 30.

Leave a comment