Skip to content

Instantly share code, notes, and snippets.

@sandeshbodake
Last active September 13, 2020 10:44
Show Gist options
  • Select an option

  • Save sandeshbodake/821ace1d3bc9a1784b6ef48dcbc6d65c to your computer and use it in GitHub Desktop.

Select an option

Save sandeshbodake/821ace1d3bc9a1784b6ef48dcbc6d65c to your computer and use it in GitHub Desktop.

Revisions

  1. sandeshbodake revised this gist Sep 13, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions cd.yml
    Original file line number Diff line number Diff line change
    @@ -1,5 +1,5 @@
    - name: Generate deployment package
    run: |
    - name: Generate deployment package
    run: |
    zip -r deploy.zip . -x '*.git*'

    - name: Deploy to EB
  2. sandeshbodake created this gist Sep 13, 2020.
    14 changes: 14 additions & 0 deletions cd.yml
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    - name: Generate deployment package
    run: |
    zip -r deploy.zip . -x '*.git*'
    - name: Deploy to EB
    uses: einaregilsson/beanstalk-deploy@v11
    with:
    aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
    aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
    application_name: testing-rails
    environment_name: staging
    version_label: 2
    region: ap-south-1
    deployment_package: deploy.zip