Skip to content

Commit

Permalink
Test: CI 파이프라인 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed Apr 23, 2024
1 parent 0cb22f4 commit 4d1ae62
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,20 @@ jobs:
zip -r deployment-package.zip baebae-BE/build/libs/baebae-BE-0.0.1-SNAPSHOT.jar
- name: Configure AWS CLI for Naver Cloud
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.NAVER_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.NAVER_SECRET_KEY }}
aws-region: ap-northeast-2
- uses: actions/checkout@v2

- name: Set up AWS CLI Environment
run: |
# 환경 변수 설정
echo "Setting up AWS CLI Environment"
export AWS_ACCESS_KEY_ID=${{ secrets.AWS_ACCESS_KEY }}
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWS_SECRET_KEY }}
export AWS_DEFAULT_REGION=us-east-2 # AWS 리전 설정
- name: Upload files to Naver Cloud Object Storage
run: |
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp deployment-package.zip s3://baebae-bucket/deployment-package.zip
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 ls s3://baebae-bucket
- name: Deploy to Naver Cloud Object Storage
env:
Expand Down

0 comments on commit 4d1ae62

Please sign in to comment.