Skip to content

Update blog content #66

Update blog content

Update blog content #66

Workflow file for this run

name: 블로그 배포
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: 코드 가져오기
uses: actions/checkout@v3
with:
submodules: true # 서브모듈(테마 포함)을 함께 가져옵니다
- name: Hugo 설치
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
extended: true
- name: 사이트 빌드
run: |
hugo --minify
touch public/.nojekyll
- name: GitHub Pages에 배포
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public