Skip to content

Commit

Permalink
Try running mkdocs steps directly
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed May 19, 2022
1 parent 70e1ed4 commit 5988cc6
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
test:
if: false
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
Expand Down Expand Up @@ -102,8 +103,13 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Setup mkdocs
run: |
pip install -U pip
pip install -r mkdocs-requirements.txt
git remote rm origin
git remote add origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/urfave/cli.git
- name: Publish Docs
uses: mhausenblas/mkdocs-deploy-gh-pages@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
REQUIREMENTS: mkdocs-requirements.txt
run: |
mkdocs gh-deploy --force

0 comments on commit 5988cc6

Please sign in to comment.