From e11fd078326115cd5a3b765f401a3f5eafdd3bab Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 24 Mar 2025 19:55:28 +0800 Subject: [PATCH] CI: Set persist-credentials to true to allow pushing to the gh-pages branch --- .github/workflows/ci_docs.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci_docs.yml b/.github/workflows/ci_docs.yml index 67dabf6bab6..ef2945cf4b5 100644 --- a/.github/workflows/ci_docs.yml +++ b/.github/workflows/ci_docs.yml @@ -176,7 +176,7 @@ jobs: path: deploy # Download the entire history fetch-depth: 0 - persist-credentials: false + persist-credentials: true if: (github.event_name == 'release' || github.event_name == 'push') && (matrix.os == 'ubuntu-latest') - name: Push the built HTML to gh-pages