Skip to content

[INFRA] CD 구축

[INFRA] CD 구축 #2

Workflow file for this run

name: gohigher-backend-dev-cd
on:
push:
branches:
- develop
pull_request:
branches:
- develop
types: [ opened, synchronize ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'adopt'
- name: Checkout source code
uses: actions/checkout@v4
- name: Set Encryption Key
uses: microsoft/variable-substitution@v1
with:
files: ./bootstrap/src/main/resources/application.yml
env:
encryption-key: ${{ secrets.ENCRYPTION_KEY }}
- name: Change gradlew permission
run: sudo chmod 755 gradlew
- name: Build with Gradle without test
run: ./gradlew clean build -x test