Update sync-to-mirrors.sh

This commit is contained in:
Jonas Kruckenberg
2022-12-15 11:37:10 +01:00
parent dcc2cf25bf
commit 366e17feae
+1 -1
View File
@@ -67,7 +67,7 @@ while read -r PLUGIN_NAME; do
# Initialize the directory as a git repo, and set the remote
git init -b "$BRANCH" .
git remote add origin "git@github.com:tauri-apps/tauri-plugin-${PLUGIN_NAME}.git"
git remote add origin "https://github.com/tauri-apps/tauri-plugin-${PLUGIN_NAME}"
if [[ -n "$API_TOKEN_GITHUB" ]]; then
git config --local http.https://github.com/.extraheader "AUTHORIZATION: basic $(printf "x-access-token:%s" "$API_TOKEN_GITHUB" | base64)"
fi