Skip to content

#550 Kustomize 기반 리소스 관리 및 릴리즈 방법 관련 문서 작성 (#554) #2

#550 Kustomize 기반 리소스 관리 및 릴리즈 방법 관련 문서 작성 (#554)

#550 Kustomize 기반 리소스 관리 및 릴리즈 방법 관련 문서 작성 (#554) #2

Workflow file for this run

name: Deploy Docs
on:
push:
branches: ["develop"]
paths:
- "docs/**" # docs 폴더 변경시에만 실행
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
submodules: recursive # 테마 서브모듈을 불러옴
fetch-depth: 0
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: "latest"
extended: true
- name: Build
run: |
cd docs
hugo --minify
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/public
publish_branch: gh-pages