Skip to content

Commit

Permalink
fix(ci): try to find executables installed with pip
Browse files Browse the repository at this point in the history
  • Loading branch information
pysan3 committed Jan 30, 2024
1 parent 70dcc2f commit 104f8a3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/generate-docs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: test-and-docs
name: generate-docs

on:
push:
Expand All @@ -23,13 +23,19 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v5
shell: bash
with:
python-version: '3.11'
cache: 'pip'
run: |
echo "$HOME/.local/bin" >> "$GITHUB_PATH"
- name: Build docs
shell: bash
run: |
make html
cat "$GITHUB_PATH"
echo "$PATH"
ls -la "$HOME/.local/bin"
PATH="$PATH:$(python3 -m site --user-base)/bin" make html
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
Expand Down

0 comments on commit 104f8a3

Please sign in to comment.