Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Lunawood authored Nov 13, 2024
2 parents b6d96ca + 5d7fa18 commit 3a7f4ca
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: deploy

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
trigger_codepipeline:
runs-on: ubuntu-latest

steps:
- name: Checkout source code
uses: actions/checkout@v2

# AWS 인증 정보 설정
- name: AWS configure credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

- name: Create deployment
run: |
aws deploy create-deployment \
--application-name ${{secrets.CODEDEPLOY_APP_NAME}} \
--deployment-config-name CodeDeployDefault.OneAtATime \
--deployment-group-name ${{secrets.CODEDEPLOY_DG_NAME}} \
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ docker images
### 도커 컨테이너 확인
docker ps
### 도커 Java Log 확인
docker logs -f [server hash number]
docker logs -f [server hash number]

0 comments on commit 3a7f4ca

Please sign in to comment.