Skip to content

Commit 87e47f8

Browse files
committed
chore: create prod-ci-workflow.yml
1 parent 1fcd2e6 commit 87e47f8

File tree

2 files changed

+31
-2
lines changed

2 files changed

+31
-2
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Product Server CI
2+
3+
on:
4+
push:
5+
branches:
6+
- release
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-22.04
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v4
15+
16+
- name: JDK 17 설치
17+
uses: actions/setup-java@v4
18+
with:
19+
java-version: '17'
20+
distribution: 'temurin'
21+
22+
- name: Grant execute permission for gradlew
23+
run: chmod +x ./gradlew
24+
25+
- name: test code
26+
run: ./gradlew clean test
27+
28+
- name: Build with Gradle
29+
run: ./gradlew clean build
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
name: Deploy to Amazon ECS
1+
name: Product Server Deploy to Amazon ECS
22

33
on:
44
push:
55
branches:
6-
- main
6+
- release
77

88
jobs:
99
deploy:

0 commit comments

Comments
 (0)