Skip to content

Commit

Permalink
Use gh-pages deploy from mkdocs
Browse files Browse the repository at this point in the history
  • Loading branch information
MrPiggy105 committed Sep 3, 2024
1 parent c810dc4 commit acbcee1
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,20 +18,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
python-version: "3.x"

- name: Install MkDocs
run: |
python -m pip install --upgrade pip
pip install mkdocs mkdocs-dracula-theme
- name: Build the MkDocs site
run: mkdocs build

- name: Setup Pages
uses: actions/configure-pages@v5

- name: Upload artifact
uses: actions/upload-artifact@v4
with:
path: ./site/
- name: Deploy on gh-pages with MkDocs
run: mkdocs gh-pages

0 comments on commit acbcee1

Please sign in to comment.