We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fb55c0 commit b96a257Copy full SHA for b96a257
.github/workflows/aws.yml
@@ -0,0 +1,27 @@
1
+name: Deploy to Beanstalk
2
+on:
3
+ push:
4
+ branches:
5
+ - master
6
+
7
+jobs:
8
+ build:
9
+ runs-on: ubuntu-latest
10
+ steps:
11
12
+ - name: Checkout source code
13
+ uses: actions/checkout@v2
14
15
+ - name: Generate deployment package
16
+ run: zip -r deploy.zip . -x '*.git*'
17
18
+ - name: Deploy to EB
19
+ uses: einaregilsson/beanstalk-deploy@v20
20
+ with:
21
+ aws_access_key: ${{ secrets.AWS_ACCESS_KEY_ID }}
22
+ aws_secret_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
23
+ application_name: backend-server
24
+ environment_name: Backendserver-env
25
+ version_label: 12345
26
+ region: us-east-1
27
+ deployment_package: deploy.zip
0 commit comments