Add rule-set releases

This commit is contained in:
世界
2023-11-29 20:52:32 +08:00
parent 63a151aef9
commit 7d51b7ffb3
9 changed files with 139 additions and 128 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/bin/bash
set -e -o pipefail
cd rule-set
git init
git config --local user.email "github-action@users.noreply.github.com"
git config --local user.name "GitHub Action"
git remote add origin https://github-action:$GITHUB_TOKEN@github.com/SagerNet/sing-geosite.git
git branch -M rule-set
git add .
git commit -m "Update rule-set"
git push -f origin rule-set