Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/scheduler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
set -e

repos=(
"build-deps"
"contribkit"
"Sunshine"
"LizardByte/contribkit"
"SunshineStream/Sunshine"
"Themerr/Themerr"
)

crowdin_projects=(
Expand Down Expand Up @@ -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

Expand Down
Loading