From 0b7af7b2bccf38f96ff8c0d8cc328a86418766f7 Mon Sep 17 00:00:00 2001 From: Dan Buch Date: Sat, 30 Nov 2024 12:16:54 -0500 Subject: [PATCH] Switch back to make targets --- .github/workflows/publish-docs.yml | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/publish-docs.yml index d77c348abc..392a88aaf7 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/publish-docs.yml @@ -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