We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e0a8cb commit 4038c46Copy full SHA for 4038c46
.github/workflows/deploy-mkdocs.yml
@@ -53,6 +53,9 @@ jobs:
53
54
set +e # Do not exit shell on failure
55
56
+ git config user.name github-actions[bot]
57
+ git config user.email github-actions[bot]@users.noreply.github.com
58
+
59
if [[ -z "${{ inputs.gitlab-project }}" ]]; then
60
# If the GitLab project name is not provided, we'll deploy to GitHub Pages.
61
if [ "${{ inputs.deploy-type }}" == "latest" ]; then
@@ -72,8 +75,6 @@ jobs:
72
75
else
73
76
export HTTPS_REMOTE="https://gitlab-ci-token:${{ secrets.GITLAB_TOKEN }}@gitlab.com/${{ inputs.gitlab-project }}.git"
74
77
- git config user.name github-actions[bot]
- git config user.email github-actions[bot]@users.noreply.github.com
78
git remote add gitlab "$HTTPS_REMOTE"
79
git pull gitlab ${{ inputs.gitlab-branch }}:${{ inputs.gitlab-branch }}
80
0 commit comments