Compare commits

...

3 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
2 changed files with 14 additions and 2 deletions

View File

@ -31,7 +31,7 @@ jobs:
shell: bash shell: bash
- name: Checkout the "hidden" branch - name: Checkout the "hidden" branch
uses: actions/checkout@v2.3.4 uses: actions/checkout@v2
with: with:
ref: hidden ref: hidden
@ -116,7 +116,7 @@ jobs:
- name: Git push assets to "release" branch - name: Git push assets to "release" branch
run: | run: |
cd publish cd publish || exit 1
git init git init
git config --local user.name "github-actions[bot]" git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com" 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 commit -m "${{ env.RELEASE_NAME }}"
git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}" git remote add origin "https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}"
git push -f origin release 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 - MATCH,DIRECT
``` ```
## 激赏 | Donation
- **比特币BTCbech32 地址**bc1qfe4nxcanet4w4ph8pf6qqyf263y68vw26nv9j9
- **比特币BTC地址**3PRyneb1D7jFFBakAaJiCRSsxsXAtMr7LN
## 致谢 ## 致谢
- [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat) - [@Loyalsoldier/v2ray-rules-dat](https://github.com/Loyalsoldier/v2ray-rules-dat)