Skip to content

Commit

Permalink
Hotfix: CD 쉘스크립트 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed Apr 27, 2024
1 parent 6042318 commit 3a8d4dc
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- develop
- feature/cd/#20

jobs:
build-and-package:
Expand Down Expand Up @@ -43,8 +44,13 @@ jobs:
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp test-package.zip s3://baebae-bucket/test-package --content-type application/zip
- name : Start Deploy Using SourceDeploy
env:
PROJECT_ID: ${{ secrets.PROJECT_ID }}
STAGE_ID: ${{ secrets.STAGE_ID }}
SCENARIO_ID: ${{ secrets.SCENARIO_ID }}
ACCESS_KEY: ${{ secrets.NAVER_ACCESS_KEY }}
SECRET_KEY: ${{ secrets.NAVER_SECRET_KEY }}
run: |
echo "${{ secrets.NAVER_SOURCE_DEPLOY_START }}" > request_deploy_start.sh
cat request_deploy_start.sh
chmod +x request_deploy_start.sh
./request_deploy_start.sh
cd baebae-BE
chmod +x request_source_deploy.sh
./request_source_deploy.sh

0 comments on commit 3a8d4dc

Please sign in to comment.