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 e3d26a4 commit 2c4e668
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Spring CI with Deployment to Naver Cloud

on:
push:
branches:
- feature/ci/#9
pull_request:
branches:
- feature/ci/#9

jobs:
build-and-package:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'

- name: Build with Gradle
run: ./gradlew build

- name: Create deployment package
run: |
zip -r deployment-package.zip build/libs/*.jar your-script.sh your-config.yml static/
- name: Upload deployment package
uses: actions/upload-artifact@v2
with:
name: deployment-package
path: deployment-package.zip

0 comments on commit 2c4e668

Please sign in to comment.