Skip to content

Commit 0b7af7b

Browse files
committed
Switch back to make targets
1 parent 3a2488a commit 0b7af7b

File tree

1 file changed

+5
-9
lines changed

1 file changed

+5
-9
lines changed

.github/workflows/publish-docs.yml

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -58,16 +58,12 @@ jobs:
5858
cache-dependency-path: mkdocs-reqs.txt
5959

6060
- name: Ensure mkdocs is available
61-
run: |
62-
pip install -r mkdocs-reqs.txt
63-
pip freeze
61+
run: make ensure-mkdocs
6462

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

7068
- name: Deploy via mkdocs
71-
run: |
72-
which mkdocs
73-
mkdocs gh-deploy --force
69+
run: make deploy-mkdocs

0 commit comments

Comments
 (0)