Skip to content

Commit 5169544

Browse files
ppiyakk2claude
andcommitted
CI : GitHub Actions 배포 설정 및 빌드 결과물 git 추적 제거
- docs/ 빌드 결과물을 git 인덱스에서 제거 (.gitignore에 docs/* 유지) - GitHub Actions 워크플로우 추가: main 브랜치 push 시 자동 빌드 후 gh-pages 브랜치에 배포 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 8a40991 commit 5169544

26 files changed

Lines changed: 32 additions & 9138 deletions

.github/workflows/publish.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Publish to GitHub Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: write
10+
11+
jobs:
12+
build-and-deploy:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Quarto
19+
uses: quarto-dev/quarto-actions/setup@v2
20+
21+
- name: Render Quarto project
22+
uses: quarto-dev/quarto-actions/render@v2
23+
24+
- name: Deploy to GitHub Pages
25+
uses: peaceiris/actions-gh-pages@v4
26+
with:
27+
github_token: ${{ secrets.GITHUB_TOKEN }}
28+
publish_dir: ./docs
29+
publish_branch: gh-pages

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
11
/.quarto/
2+
docs/*
3+
4+
**/*.quarto_ipynb

docs/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)