Skip to content

Commit

Permalink
Test: CI 파이프라인 테스트
Browse files Browse the repository at this point in the history
  • Loading branch information
tioon committed Apr 22, 2024
1 parent ebd2896 commit c119c2e
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Spring CI with Deployment to Naver Cloud
name: Feature Branch CI

on:
push:
Expand Down Expand Up @@ -37,8 +37,18 @@ jobs:
run: |
zip -r deployment-package.zip baebae-BE/build/libs/baebae-BE-0.0.1-SNAPSHOT.jar
- name: Upload deployment package
uses: actions/upload-artifact@v2
with:
name: deployment-package
path: deployment-package.zip
- name: Install Naver Cloud CLI
run: |
curl -o ncloud.zip "https://ncloud.apigw.ntruss.com/common/v2/downloadcli"
unzip ncloud.zip
./ncloud/install
- name: Configure Naver Cloud CLI
run: |
echo "${{ secrets.NAVER_ACCESS_KEY }}" > ncloudkey
echo "${{ secrets.NAVER_SECRET_KEY }}" >> ncloudkey
./ncloud/bin/ncloud configure set keyFile ncloudkey
- name: Upload to Naver Cloud Object Storage
run: |
./ncloud/bin/ncloud object-storage upload --bucket-name baebae-bucket --source ./deployment-package.zip --object-name deployment-package.zip

0 comments on commit c119c2e

Please sign in to comment.