Skip to content

jwt 추가

jwt 추가 #9

Workflow file for this run

name: spurt build check
on:
pull_request:
branches:
- main
- develop
jobs:
push_to_registry:
name: Push to aws container registry
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK 17
uses: actions/setup-java@v3
with:
java-version: '17'
distribution: 'corretto'
- name: make application.yml
if: github.event.pull_request.base.ref == 'main' || github.event.pull_request.base.ref == 'develop'
run: |
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.YML_PROD }}" > ./application.yml
shell: bash
- name: Grant execute permission for gradlew
run: chmod +x gradlew
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: build
cache-read-only: ${{ github.ref != 'refs/heads/master' }}