Skip to content

Commit 4038c46

Browse files
committed
fix: github pages mkdocs
1 parent 5e0a8cb commit 4038c46

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/deploy-mkdocs.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,9 @@ jobs:
5353
5454
set +e # Do not exit shell on failure
5555
56+
git config user.name github-actions[bot]
57+
git config user.email github-actions[bot]@users.noreply.github.com
58+
5659
if [[ -z "${{ inputs.gitlab-project }}" ]]; then
5760
# If the GitLab project name is not provided, we'll deploy to GitHub Pages.
5861
if [ "${{ inputs.deploy-type }}" == "latest" ]; then
@@ -72,8 +75,6 @@ jobs:
7275
else
7376
export HTTPS_REMOTE="https://gitlab-ci-token:${{ secrets.GITLAB_TOKEN }}@gitlab.com/${{ inputs.gitlab-project }}.git"
7477
75-
git config user.name github-actions[bot]
76-
git config user.email github-actions[bot]@users.noreply.github.com
7778
git remote add gitlab "$HTTPS_REMOTE"
7879
git pull gitlab ${{ inputs.gitlab-branch }}:${{ inputs.gitlab-branch }}
7980

0 commit comments

Comments
 (0)