Compare commits

...

5 Commits

Author SHA1 Message Date
Loyalsoldier
50407af1a7 Chore: update actions/checkout 2021-10-18 08:22:53 +08:00
Loyalsoldier
eca4c6fcea README: add donation info 2021-10-16 09:41:04 +08:00
loyalsoldier
2884e764f0 Workflow: purge CDN after a new release 2021-08-28 19:56:27 +08:00
loyalsoldier
11a9629129 Fix: degrade to fix upload 2021-08-09 19:14:19 +08:00
Loyalsoldier
378d76dda6 Chore: change Git user
Reference: https://github.com/Loyalsoldier/geoip/pull/9
2021-03-19 12:41:53 +08:00
2 changed files with 20 additions and 5 deletions

View File

@@ -32,7 +32,7 @@ jobs:
shell: bash
- name: Checkout the default branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2
- name: Generate icloud.txt file
run: |
@@ -114,7 +114,7 @@ jobs:
mv ruleset ./publish/
- name: Release and upload assets
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v0.1.6
with:
name: ${{ env.RELEASE_NAME }}
tag_name: ${{ env.TAG_NAME }}
@@ -127,12 +127,22 @@ jobs:
- name: Git push assets to "release" branch
run: |
cd publish
cd publish || exit 1
git init
git config --local user.name "actions"
git config --local user.email "action@github.com"
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git checkout -b release
git add .
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f -u origin release
- name: Purge jsdelivr CDN
run: |
cd publish || exit 1
for file in $(ls); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@release/${file}"
done
for file in $(ls ruleset); do
curl -i "https://purge.jsdelivr.net/gh/${{ github.repository }}@release/ruleset/${file}"
done

View File

@@ -250,6 +250,11 @@ RULE-SET,https://cdn.jsdelivr.net/gh/Loyalsoldier/surge-rules@release/ruleset/te
FINAL,DIRECT,dns-failed
```
## 激赏 | Donation
- **比特币BTCbech32 地址**bc1qfe4nxcanet4w4ph8pf6qqyf263y68vw26nv9j9
- **比特币BTC地址**3PRyneb1D7jFFBakAaJiCRSsxsXAtMr7LN
## 致谢
- [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)