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 a1f10e7 commit 6e45a2c
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ jobs:
run: |
zip -r deployment-package.zip baebae-BE/build/libs/baebae-BE-0.0.1-SNAPSHOT.jar
- name: Install Python and dependencies
- name: Configure AWS CLI for Naver Cloud
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.NAVER_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.NAVER_SECRET_ACCESS_KEY }}

- name: Upload files to Naver Cloud Object Storage
run: |
sudo apt-get update
sudo apt-get install python3-pip
pip install requests
echo "${{ secrets.UPLOAD_SCRIPT }}" > upload_to_ncloud.py
cat upload_to_ncloud.py
aws --endpoint-url=https://kr.object.ncloudstorage.com s3 cp deployment-package.zip s3://baebae-bucket/deployment-package.zip
- name: Deploy to Naver Cloud Object Storage
env:
Expand Down

0 comments on commit 6e45a2c

Please sign in to comment.