]> git.ipfire.org Git - thirdparty/ut1-blacklists.git/commitdiff
Push back to GitLab so GitHub can be the read-only mirror
authorLuc Sarzyniec <devel@olbat.net>
Thu, 14 May 2026 09:17:39 +0000 (11:17 +0200)
committerLuc Sarzyniec <devel@olbat.net>
Thu, 14 May 2026 09:17:39 +0000 (11:17 +0200)
Switch sync-git to push to gitlab.com using GITLAB_TOKEN. GitHub is
now updated via a GitLab push mirror instead of being the CI's direct
push target.

scripts/sync-git

index 11f15eef8de2ea187da871c481bd81bb23d4ac59..9f1760fc91f86c1ef2d453c52c253fc3e5eddd90 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/bash
 
-GIT_REMOTE="https://${GITHUB_TOKEN}@github.com/olbat/ut1-blacklists"
+GIT_REMOTE="https://oauth2:${GITLAB_TOKEN}@gitlab.com/olbat/ut1-blacklists"
 GIT_BRANCH="master"
 
 set -euxo pipefail