Skip to content

Commit

Permalink
Create mkdocsDeploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Sunday-Crunk authored Apr 9, 2024
1 parent ac3d901 commit 9e458a0
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/mkdocsDeploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy MkDocs to GitHub Pages

on:
push:
branches:
- main # or your default branch

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify the Python version

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-material # Add other dependencies if needed
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site

0 comments on commit 9e458a0

Please sign in to comment.