Skip to content

Commit

Permalink
Feat(*): CI action 작성
Browse files Browse the repository at this point in the history
  • Loading branch information
InHyeok-J committed Jun 24, 2024
1 parent 37787d4 commit b6f1fba
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/devcd.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
on:
push:
branches: [ "develop" ,"feature/*" ]
branches: [ "develop" ]

workflow_dispatch:

Expand Down
42 changes: 42 additions & 0 deletions .github/workflows/devci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: "dev ci "

on:
pull_request:
types: [ opened ]
branches:
- "develop"
workflow_dispatch:




jobs:
gradle-docker-build:
runs-on: ubuntu-20.04

steps:
- uses: actions/checkout@v3
- name: CI start send message
uses: jabiseo/slack-custom-bot@main
with:
mode: PR
channelId: "${{ secrets.NOTI_CHANNEL_ID }}"
text: "PullRequest 요청"
statusColor: "#ebe834"
env:
SLACK_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}


- uses: actions/setup-java@v3
with:
java-version: "17"
distribution: "oracle"

- name: Grant execute permission for gradlew
run: chmod +x gradlew

- name: gradle build
run: |
./gradlew test -x bootJar

0 comments on commit b6f1fba

Please sign in to comment.