Skip to content

Commit

Permalink
Update publish-handbook.yml (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
glenn-jocher authored Oct 15, 2024
1 parent 82a5ac1 commit d757cbc
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/publish-handbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,24 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
cache: "pip" # caching pip dependencies
cache: "pip"

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black mkdocs-material mkdocs-ultralytics-plugin
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Deploy to GitHub Pages
run: |
git config --global user.name 'UltralyticsAssistant'
git config --global user.email '[email protected]'
mkdocs gh-deploy
mkdocs gh-deploy --force

0 comments on commit d757cbc

Please sign in to comment.