Skip to content

Commit 9c7cb27

Browse files
Merge pull request #3 from Kalgoc/ci/cd
Finished CD
2 parents a4cffac + efdb566 commit 9c7cb27

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/deploy.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Deploy
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
permissions:
8+
contents: read
9+
10+
jobs:
11+
EC2-Deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- id: deploy
15+
uses: bitovi/github-actions-deploy-docker-to-ec2@v1.0.1
16+
with:
17+
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }}
18+
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
19+
aws_default_region: us-east-1
20+
21+
aws_elb_app_port: 8000

0 commit comments

Comments
 (0)