Compare commits

...

4 Commits

Author SHA1 Message Date
b10802d5f3 Chore: update actions/checkout 2021-10-18 08:22:16 +08:00
c3b9c36c72 README: add donation info 2021-10-16 09:40:50 +08:00
9666b73222 Purge CDN after a new release (#45)
Co-authored-by: Loyalsoldier <10487845+Loyalsoldier@users.noreply.github.com>
2021-08-28 19:31:31 +08:00
3231f9422a Fix: degrade to fix upload 2021-08-09 19:11:26 +08:00
2 changed files with 15 additions and 3 deletions

View File

@ -31,7 +31,7 @@ jobs:
shell: bash
- name: Checkout the "hidden" branch
uses: actions/checkout@v2.3.4
uses: actions/checkout@v2
with:
ref: hidden
@ -103,7 +103,7 @@ jobs:
install -p {apple,icloud,google,proxy,direct,reject,private,gfw,greatfire,tld-not-cn,cncidr,lancidr,telegramcidr}.txt ./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 }}
@ -116,7 +116,7 @@ jobs:
- name: Git push assets to "release" branch
run: |
cd publish
cd publish || exit 1
git init
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
@ -125,3 +125,10 @@ jobs:
git commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f 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

View File

@ -294,6 +294,11 @@ rules:
- MATCH,DIRECT
```
## 激赏 | Donation
- **比特币BTCbech32 地址**bc1qfe4nxcanet4w4ph8pf6qqyf263y68vw26nv9j9
- **比特币BTC地址**3PRyneb1D7jFFBakAaJiCRSsxsXAtMr7LN
## 致谢
- [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)