diff --git a/.github/workflows/scheduler.yml b/.github/workflows/scheduler.yml index 3f95e17..197c604 100644 --- a/.github/workflows/scheduler.yml +++ b/.github/workflows/scheduler.yml @@ -71,7 +71,6 @@ jobs: # github contributors { echo "CONTRIBKIT_GITHUB_CONTRIBUTORS_TOKEN=${SECRET_GH_BOT_TOKEN}" - echo "CONTRIBKIT_GITHUB_CONTRIBUTORS_LOGIN=${GITHUB_REPOSITORY_OWNER}" } >> ./configs/github/.env # github contributions diff --git a/build.sh b/build.sh index f0ed37d..f29b310 100644 --- a/build.sh +++ b/build.sh @@ -2,9 +2,9 @@ set -e repos=( - "build-deps" - "contribkit" - "Sunshine" + "LizardByte/contribkit" + "SunshineStream/Sunshine" + "Themerr/Themerr" ) crowdin_projects=( @@ -41,8 +41,10 @@ echo "Building GitHub contributors..." pushd configs/github || exit 1 for repo in "${repos[@]}"; do echo "Building GitHub contributors for ${repo}..." - export CONTRIBKIT_GITHUB_CONTRIBUTORS_REPO="${repo}" - npx contribkit --outputDir="${output_dir}" -w=800 --name="github.${repo}" --force + repo_name="${repo#*/}" + CONTRIBKIT_GITHUB_CONTRIBUTORS_LOGIN="${repo%%/*}" \ + CONTRIBKIT_GITHUB_CONTRIBUTORS_REPO="${repo_name}" \ + npx contribkit --outputDir="${output_dir}" -w=800 --name="github.${repo_name}" --force done popd || exit 1