Skip to content

Commit 83b246d

Browse files
authored
test: Deploy test
1 parent 27b6360 commit 83b246d

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.github/workflows/deploy.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Deploy MkDocs to GitHub Pages
2+
3+
on:
4+
push:
5+
branches:
6+
- mkdocs
7+
8+
jobs:
9+
deploy:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout repository
14+
uses: actions/checkout@v3
15+
16+
- name: Set up Python
17+
uses: actions/setup-python@v4
18+
with:
19+
python-version: '3.11'
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install --upgrade pip
24+
pip install mkdocs-material
25+
26+
- name: Deploy to GitHub Pages
27+
run: mkdocs gh-deploy --force
28+
env:
29+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

mkdocs.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
site_name: PyCon KR CoC
2+
site_url: https://pythonkr.github.io/pycon-code-of-conduct
3+
repo_url: https://github.com/pythonkr/pycon-code-of-conduct
4+
25
theme:
36
name: material
47
logo: logo.png
@@ -29,7 +32,6 @@ theme:
2932
nav:
3033
# - Home: index.md
3134
- Code of Conduct (English):
32-
3335
- Intent and Purpose: en/coc/a_intent_and_purpose.md
3436
- Community: en/coc/b_community.md
3537
- Communication: en/coc/c_communication.md
@@ -38,7 +40,6 @@ nav:
3840
- Public Decorum: en/coc/f_public_decorum.md
3941
- Reporting: en/coc/g_reporting.md
4042
- Contributing: en/coc/h_contributing.md
41-
4243
- Code of Conduct (Korean):
4344
- 의도와 목적: ko/coc/a_intent_and_purpose.md
4445
- 커뮤니티: ko/coc/b_community.md

0 commit comments

Comments
 (0)