Skip to content

Commit 944a69c

Browse files
author
smaragda.prasianaki
committed
update deployment file
1 parent fe01183 commit 944a69c

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

.github/workflows/deploy.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,19 @@ jobs:
88
build:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v2
11+
- uses: actions/checkout@v3
1212
- run: docker build -t smaragda2/docker-learn -f Dockerfile.dev .
1313
- run: docker run -e CI=true smaragda2/docker-learn npm test
14+
15+
- name: Generate deployment package
16+
run: zip -r deploy.zip . -x '*.git*'
17+
18+
- name: Deploy to Elastic Beanstalk
19+
uses: einaregilsson/beanstalk-deploy@v18
20+
with:
21+
application_name: Docker-Course
22+
environment_name: Docker-Course-env
23+
existing_bucket_name: elasticbeanstalk-us-east-2-767828742387
24+
region: us-east-2
25+
version_label: ${{ github.sha }}
26+
deployment_package: deploy.zip

0 commit comments

Comments
 (0)