Skip to content

Commit

Permalink
test: Deploy test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpprhtn authored Sep 21, 2024
1 parent 27b6360 commit 83b246d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy MkDocs to GitHub Pages

on:
push:
branches:
- mkdocs

jobs:
deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material
- name: Deploy to GitHub Pages
run: mkdocs gh-deploy --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 3 additions & 2 deletions mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
site_name: PyCon KR CoC
site_url: https://pythonkr.github.io/pycon-code-of-conduct
repo_url: https://github.com/pythonkr/pycon-code-of-conduct

theme:
name: material
logo: logo.png
Expand Down Expand Up @@ -29,7 +32,6 @@ theme:
nav:
# - Home: index.md
- Code of Conduct (English):

- Intent and Purpose: en/coc/a_intent_and_purpose.md
- Community: en/coc/b_community.md
- Communication: en/coc/c_communication.md
Expand All @@ -38,7 +40,6 @@ nav:
- Public Decorum: en/coc/f_public_decorum.md
- Reporting: en/coc/g_reporting.md
- Contributing: en/coc/h_contributing.md

- Code of Conduct (Korean):
- 의도와 목적: ko/coc/a_intent_and_purpose.md
- 커뮤니티: ko/coc/b_community.md
Expand Down

0 comments on commit 83b246d

Please sign in to comment.