Skip to content

[BE] feat: Flyway ์ ์šฉ (#246) (#334) #12

[BE] feat: Flyway ์ ์šฉ (#246) (#334)

[BE] feat: Flyway ์ ์šฉ (#246) (#334) #12

Workflow file for this run

name: CD-Back-Dev
on:
push:
branches:
- dev
paths: 'backend/**'
workflow_dispatch:
defaults:
run:
working-directory: backend
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: ๋ฆฌํฌ์ง€ํ† ๋ฆฌ ์ฒดํฌ์•„์›ƒ
uses: actions/checkout@v3
with:
submodules: recursive
token: ${{ secrets.SUBMODULE_TOKEN }}
- name: ์ž๋ฐ” ์„ค์น˜
uses: actions/setup-java@v3
with:
java-version: 17
distribution: 'zulu'
- name: gradlew ๊ถŒํ•œ ๋ถ€์—ฌ
run: chmod +x gradlew
- name: Gradle Test
run: ./gradlew test
- name: trigger to jenkins dev cd
uses: appleboy/jenkins-action@master
with:
url: ${{ secrets.JENKINS_URL }}
user: "festago"
token: ${{ secrets.JENKINS_API_TOKEN}}
job: "festago-dev-cd"