Skip to content

Commit

Permalink
fix(github-actions): prefix build command with pipenv run
Browse files Browse the repository at this point in the history
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@crew.recaptime.dev>
  • Loading branch information
ajhalili2006 authored Nov 27, 2024
1 parent 213213d commit 076d2c8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ concurrency:
group: "pages"
cancel-in-progress: false


# Adopted from https://squidfunk.github.io/mkdocs-material/publishing-your-site/?h=pages#with-github-actions,
# using native GitHub Action for GH Pages instead of "mkdocs gh-pages".
jobs:
Expand All @@ -35,7 +34,7 @@ jobs:
- run: |
pip install pipenv
pipenv install
- run: mkdocs build -d ./public
- run: pipenv run mkdocs build -d ./public
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand All @@ -50,4 +49,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

0 comments on commit 076d2c8

Please sign in to comment.