From 70edd1e0fba488d68bf35d34376efaf480c4c2ee Mon Sep 17 00:00:00 2001 From: Oleg Nenashev Date: Sat, 20 Jul 2024 16:47:49 +0200 Subject: [PATCH] Allow mkdocs to use GitHub Token --- .github/workflows/ci.yml | 3 +++ .github/workflows/deploy-site.yml | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20ea49b..91f0da0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,3 +53,6 @@ jobs: push: never runCmd: | mkdocs build + env: | + FULL_BUILD=true + GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/deploy-site.yml b/.github/workflows/deploy-site.yml index 198cbfc..e036766 100644 --- a/.github/workflows/deploy-site.yml +++ b/.github/workflows/deploy-site.yml @@ -47,7 +47,10 @@ jobs: push: always runCmd: | mkdocs build - + env: | + FULL_BUILD=true + GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} + - name: Upload artifact # Automatically uploads an artifact from the './_site' directory by default uses: actions/upload-pages-artifact@v1