Skip to content

Commit 4745a6c

Browse files
committed
Init
0 parents  commit 4745a6c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+15222
-0
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*.css linguist-detectable=false
2+
*.scss linguist-detectable=false

.github/FUNDING.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
github: [chebread]

.github/workflows/deploy.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# 워크플로우의 이름
2+
name: Deploy to GitHub Pages
3+
4+
on:
5+
push:
6+
tags:
7+
- 'post/*' # git tag post/yyyy-mm-dd-xx.. 같은 형태의 태그에만 반응합니다.
8+
9+
jobs:
10+
build-and-deploy:
11+
runs-on: ubuntu-latest
12+
13+
permissions:
14+
contents: write
15+
16+
steps:
17+
- name: Checkout
18+
uses: actions/checkout@v4
19+
20+
- name: Set up Go
21+
uses: actions/setup-go@v5
22+
with:
23+
go-version: '1.25'
24+
25+
- name: Set up pnpm
26+
uses: pnpm/action-setup@v4
27+
with:
28+
run_install: false
29+
30+
- name: Set up Node.js
31+
uses: actions/setup-node@v4
32+
with:
33+
node-version: 20
34+
cache: 'pnpm'
35+
36+
- name: Install Dependencies
37+
run: pnpm install
38+
39+
# 정적 사이트 빌드
40+
- name: Build
41+
run: pnpm run build:prod
42+
43+
# 4. 빌드 결과물(public 디렉터리)을 gh-pages 브랜치에 배포
44+
- name: Deploy
45+
uses: peaceiris/actions-gh-pages@v4
46+
with:
47+
# GitHub Actions가 커밋/푸시를 할 수 있도록 토큰을 제공합니다.
48+
github_token: ${{ secrets.GITHUB_TOKEN }}
49+
# 배포할 디렉터리를 지정합니다. (빌드 결과물이 담긴 곳)
50+
publish_dir: ./public
51+
# 커밋 메시지를 태그 이름으로 사용합니다.
52+
commit_message: Deploy ${{ github.ref_name }}

.gitignore

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,99 @@
1+
# https://github.com/cli/cli/blob/trunk/.gitignore
2+
3+
/bin
4+
/share/bash-completion/completions
5+
/share/fish/vendor_completions.d
6+
/share/man/man1
7+
/share/zsh/site-functions
8+
/gh-cli
9+
.envrc
10+
/dist
11+
/site
12+
.github/**/node_modules
13+
/CHANGELOG.md
14+
/.goreleaser.generated.yml
15+
/script/build
16+
/script/build.exe
17+
/pkg_payload
18+
/build/macOS/resources
19+
20+
# Windows resource files
21+
/cmd/gh/*.syso
22+
23+
# VS Code
24+
.vscode
25+
26+
# IntelliJ
27+
.idea
28+
29+
# macOS
30+
.DS_Store
31+
32+
# vim
33+
*.swp
34+
35+
# Emacs
36+
*~
37+
38+
vendor/
39+
40+
# https://github.com/github/gitignore/blob/main/Go.gitignore
41+
# If you prefer the allow list template instead of the deny list, see community template:
42+
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
43+
#
44+
# Binaries for programs and plugins
45+
*.exe
46+
*.exe~
47+
*.dll
48+
*.so
49+
*.dylib
50+
51+
# Test binary, built with `go test -c`
52+
*.test
53+
54+
# Code coverage profiles and other test artifacts
55+
*.out
56+
coverage.*
57+
*.coverprofile
58+
profile.cov
59+
60+
# Dependency directories (remove the comment below to include it)
61+
# vendor/
62+
63+
# Go workspace file
64+
go.work
65+
go.work.sum
66+
67+
# env file
68+
.env
69+
70+
# Editor/IDE
71+
# .idea/
72+
# .vscode/
73+
74+
# custom
75+
unpublished/
76+
77+
public/*
78+
79+
test/*
80+
81+
# for JS
82+
logs
83+
*.log
84+
npm-debug.log*
85+
yarn-debug.log*
86+
yarn-error.log*
87+
pnpm-debug.log*
88+
lerna-debug.log*
89+
90+
node_modules
91+
dist
92+
dist-ssr
93+
*.local
94+
95+
*.suo
96+
*.ntvs*
97+
*.njsproj
98+
*.sln
99+
*.sw?

0 commit comments

Comments
 (0)