Skip to content

feat-be: 평가 삭제 기능 (#950) #71

feat-be: 평가 삭제 기능 (#950)

feat-be: 평가 삭제 기능 (#950) #71

name: BE/DOCS - API Docs Build & Deploy
on:
workflow_dispatch:
push:
branches: be/develop
permissions:
contents: write
pages: write
id-token: write
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
steps:
- name: Checkout Latest
uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@v3
- name: Build RestDocs with Gradle
run: ./gradlew asciidoctor
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ github.workspace }}/backend/build/docs/asciidoc
deploy:
needs: build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy API Docs to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4