Skip to content

Commit

Permalink
Run everything mkdocs directly
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Nov 30, 2024
1 parent c8d5a9c commit 8ed6325
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,18 @@ jobs:
cache-dependency-path: mkdocs-reqs.txt

- name: Ensure mkdocs is available
run: make ensure-mkdocs
env:
FLAGS: --upgrade-pip
#run: make ensure-mkdocs
#env:
# FLAGS: --upgrade-pip
run: pip install -r mkdocs-reqs.txt

- name: Set mkdocs remote
run: make set-mkdocs-remote
env:
MKDOCS_REMOTE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#run: make set-mkdocs-remote
#env:
# MKDOCS_REMOTE_GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote rm origin
git remote add origin "https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/urfave/cli.git"
- name: Deploy via mkdocs
#run: make deploy-mkdocs
Expand Down

0 comments on commit 8ed6325

Please sign in to comment.