Skip to content

chore: yml 파일 생성 테스트 #4

chore: yml 파일 생성 테스트

chore: yml 파일 생성 테스트 #4

Workflow file for this run

name: Build and Deploy to EC2
on:
push:
branches: [ "chore/release-test-hey" ]
pull_request:
branches: [ "chore/release-test-hey" ]
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- name: make application.yml
uses: actions/checkout@v4
run:
mkdir ./src/main/resources
cd ./src/main/resources
touch ./application.yml
echo "${{ secrets.APPLICATION }}" > ./application.yml
- name: Grant execute permission for gradlew
run: chmod +x ./gradlew
shell: bash
- name: Build and Test
run: ./gradlew build test