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 741d03a commit ebd2896
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,20 @@ jobs:
java-version: '17'
distribution: 'adopt'

- name: Move to root
run: |
cd baebae-BE
- name: Create and configure application.yml
run: |
echo "${{ secrets.APPLICATION_YML }}" > src/main/resources/application.yml
echo "${{ secrets.APPLICATION_DEPLOY_YML }}" > src/main/resources/application-deploy.yml
echo "${{ secrets.APPLICATION_YML }}" > baebae-BE/src/main/resources/application.yml
echo "${{ secrets.APPLICATION_DEPLOY_YML }}" > baebae-BE/src/main/resources/application-deploy.yml
- name: Build with Gradle
run: |
cd baebae-BE
chmod +x ./gradlew
./gradlew build
- name: Create deployment package
run: |
zip -r deployment-package.zip build/libs/baebae-BE-0.0.1-SNAPSHOT.jar
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
Expand Down

0 comments on commit ebd2896

Please sign in to comment.