mirror of
https://github.com/MoonTechLab/LunaTV.git
synced 2026-02-21 09:14:42 +08:00
feat: use jsdelivr as version cache
This commit is contained in:
13
.github/workflows/docker-image.yml
vendored
13
.github/workflows/docker-image.yml
vendored
@@ -149,3 +149,16 @@ jobs:
|
||||
repository: ${{ github.repository }}
|
||||
retain_days: 0
|
||||
keep_minimum_runs: 2
|
||||
|
||||
version-cache-refresh:
|
||||
runs-on: ubuntu-latest
|
||||
needs:
|
||||
- cleanup
|
||||
if: always() && github.event_name != 'pull_request'
|
||||
steps:
|
||||
- name: Refresh VERSION.txt cache
|
||||
run: |
|
||||
echo "Refreshing VERSION.txt cache..."
|
||||
curl -s https://purge.jsdelivr.net/gh/senshinya/moontv/VERSION.txt
|
||||
echo ""
|
||||
echo "VERSION.txt cache refreshed successfully"
|
||||
|
||||
Reference in New Issue
Block a user