🔀 Redis Email Send #38
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Go Socket BE | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| jobs: | |
| build-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Set up Java | |
| uses: actions/setup-java@v3 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| - name: Build with Gradle | |
| run: ./gradlew assemble | |
| - name: Backend CI Discord Notification (Success) | |
| if: ${{ success() }} | |
| uses: sarisia/actions-status-discord@v1 | |
| with: | |
| title: ✅ Backend CI success ✅ | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| color: 00FF00 | |
| - name: Backend CI Discord Notification (Failure) | |
| if: ${{ failure() }} | |
| uses: sarisia/actions-status-discord@v1 | |
| with: | |
| title: ❗️ Backend CI failed ❗️ | |
| webhook: ${{ secrets.DISCORD_WEBHOOK }} | |
| color: FF0000 |