Skip to content

Commit dffa588

Browse files
Merge pull request #1 from letsescape/feature/init
Docusaurus 기반 Laravel 한국어 문서 사이트 초기 설정
2 parents 8dc0ff8 + 0f0f9c0 commit dffa588

File tree

126 files changed

+97708
-0
lines changed

Some content is hidden

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

126 files changed

+97708
-0
lines changed

.github/workflows/deploy.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
name: Deploy to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- feature/init
7+
# 특정 파일이 변경되었을 때만 실행하도록 설정할 수도 있습니다
8+
# paths:
9+
# - docs/**
10+
# - src/**
11+
# - docusaurus.config.js
12+
# - sidebars.js
13+
14+
# 수동으로 워크플로우를 실행할 수 있도록 설정
15+
workflow_dispatch:
16+
17+
# 동시에 하나의 배포만 실행되도록 설정
18+
concurrency:
19+
group: ${{ github.workflow }}-${{ github.ref }}
20+
cancel-in-progress: true
21+
22+
permissions:
23+
contents: read
24+
pages: write
25+
id-token: write
26+
27+
jobs:
28+
build:
29+
name: Build
30+
runs-on: ubuntu-latest
31+
steps:
32+
- name: Checkout
33+
uses: actions/checkout@v3
34+
- name: Setup Node
35+
uses: actions/setup-node@v3
36+
with:
37+
node-version: 18
38+
cache: npm
39+
- name: Setup Pages
40+
uses: actions/configure-pages@v3
41+
- name: Install dependencies
42+
run: npm ci
43+
- name: Build website
44+
run: npm run build
45+
- name: Upload artifact
46+
uses: actions/upload-pages-artifact@v3
47+
with:
48+
path: build
49+
50+
deploy:
51+
name: Deploy
52+
environment:
53+
name: github-pages
54+
url: ${{ steps.deployment.outputs.page_url }}
55+
runs-on: ubuntu-latest
56+
needs: build
57+
steps:
58+
- name: Deploy to GitHub Pages
59+
id: deployment
60+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Dependencies
2+
/node_modules
3+
4+
# Production
5+
/build
6+
7+
# Generated files
8+
.docusaurus
9+
.cache-loader
10+
11+
# Misc
12+
.DS_Store
13+
.env.local
14+
.env.development.local
15+
.env.test.local
16+
.env.production.local
17+
18+
# Logs
19+
npm-debug.log*
20+
yarn-debug.log*
21+
yarn-error.log*
22+
23+
# IDE specific files
24+
.idea
25+
.vscode
26+
*.swp
27+
*.swo
28+
29+
# Local Netlify folder
30+
.netlify

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)