[Feat/logout] 로그아웃 api, refresh token 삭제 로직 구현 #309
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: development-ci | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| types: [ opened, reopened, edited, synchronize ] | |
| jobs: | |
| build: | |
| name: Build and analyze | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis | |
| - name: Set up JDK 21 | |
| uses: actions/setup-java@v4 | |
| with: | |
| java-version: 21 | |
| distribution: 'corretto' | |
| cache: 'gradle' | |
| - name: grant permission to gradle | |
| run: chmod +x gradlew | |
| - name: touch .env family | |
| run: | | |
| touch .env.dev | |
| echo "${{ secrets.ENV_DEV }}" > .env.dev | |
| touch .env.test | |
| echo "${{ secrets.ENV_DEV }}" > .env.test | |
| shell: bash | |
| - name: touch dev data.sql | |
| run: | | |
| touch src/main/resources/sql/data.sql | |
| echo "${{ secrets.DATA_SQL }}" > src/main/resources/sql/data.sql | |
| shell: bash | |
| - name: touch test data.sql | |
| run: | | |
| touch src/test/resources/sql/data.sql | |
| echo "${{ secrets.TEST_DATA_SQL }}" > src/test/resources/sql/data.sql | |
| shell: bash | |
| - name: Build and analyze | |
| run: ./gradlew build | |
| - name: Upload Gradle Report | |
| uses: actions/upload-artifact@v4 | |
| if: ${{ failure() }} | |
| with: | |
| name: gradle-report | |
| path: build/reports | |
| - name: Backend CI Discord Notification | |
| uses: sarisia/actions-status-discord@v1 | |
| if: ${{ failure() }} | |
| with: | |
| title: ❗️ Backend CI failed ❗️ | |
| webhook: ${{ secrets.DISCORD_URL }} | |
| color: FF0000 |