File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change 31
31
export CONFIG_FILE=" ${GITHUB_WORKSPACE} /mkdocs.yml"
32
32
fi
33
33
34
- if [ -n " ${GITHUB_TOKEN } " ]; then
35
- print_info " setup with GITHUB_TOKEN "
34
+ if [ -n " ${INPUT_AUTH_TOKEN } " ]; then
35
+ print_info " setup with INPUT_AUTH_TOKEN "
36
36
remote_repo=" https://x-access-token:${GITHUB_TOKEN} @github.com/${GITHUB_REPOSITORY} .git"
37
37
elif [ -n " ${PERSONAL_TOKEN} " ]; then
38
38
print_info " setup with PERSONAL_TOKEN"
39
39
remote_repo=" https://x-access-token:${PERSONAL_TOKEN} @github.com/${GITHUB_REPOSITORY} .git"
40
- elif [ -n " ${INPUT_AUTH_TOKEN} " ]; then
41
- print_info " setup with INPUT_AUTH_TOKEN"
42
- remote_repo=" https://x-access-token:${INPUT_AUTH_TOKEN} @github.com/${GITHUB_REPOSITORY} .git"
43
40
fi
44
41
45
42
if ! git config --get user.name; then
You can’t perform that action at this time.
0 commit comments