Skip to content

Commit

Permalink
Switch back to make targets
Browse files Browse the repository at this point in the history
  • Loading branch information
meatballhat committed Nov 30, 2024
1 parent 3a2488a commit 0b7af7b
Showing 1 changed file with 5 additions and 9 deletions.
14 changes: 5 additions & 9 deletions .github/workflows/publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,16 +58,12 @@ jobs:
cache-dependency-path: mkdocs-reqs.txt

- name: Ensure mkdocs is available
run: |
pip install -r mkdocs-reqs.txt
pip freeze
run: make ensure-mkdocs

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

- name: Deploy via mkdocs
run: |
which mkdocs
mkdocs gh-deploy --force
run: make deploy-mkdocs

0 comments on commit 0b7af7b

Please sign in to comment.