Skip to content

Commit

Permalink
chore: Gradle Build Scan 활성화 및 슬랙 전송 워크플로 추가 (#37)
Browse files Browse the repository at this point in the history
* chore: 빌드 스캔 활성화

* chore: 워크플로 테스트

* chore: CI 환경변수 테스트 제거

* chore: 슬랙 전송 워크플로 작성

* chore: 슬랙 전송 스텝을 빌드 잡으로 통합

* chore: 테스트 트리거 및 문자열 제거
  • Loading branch information
uwoobeat authored Dec 5, 2023
1 parent 50d3e36 commit 0c4fbc8
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/develop_build_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,17 @@ jobs:
source: docker-compose.yaml
target: /home/tenminute/

# 슬랙으로 빌드 스캔 결과 전송
- name: Send to slack
uses: slackapi/slack-github-action@v1.24.0
with:
payload: |
{
"text": "Gradle Build Scan Report of ${{ github.workflow }}: ${{ steps.gradle.outputs.build-scan-url }}"
}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

deploy:
runs-on: ubuntu-latest
environment: DEV
Expand Down
12 changes: 12 additions & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
@@ -1 +1,13 @@
plugins {
id "com.gradle.enterprise" version "3.15.1"
}

gradleEnterprise {
buildScan {
publishAlwaysIf(System.getenv("CI") != null)
termsOfServiceUrl = "https://gradle.com/terms-of-service"
termsOfServiceAgree = "yes"
}
}

rootProject.name = 'tenminute'

0 comments on commit 0c4fbc8

Please sign in to comment.