diff --git a/.github/workflows/updatecache.yml b/.github/workflows/updatecache.yml new file mode 100644 index 0000000..06685bb --- /dev/null +++ b/.github/workflows/updatecache.yml @@ -0,0 +1,11 @@ +name: UpdateCache +on: + push: + branches: [ main ] # 触发分支,根据需要可更改为'master'或其他分支 +jobs: + notify: + runs-on: ubuntu-latest # 使用Ubuntu环境执行 + steps: + - name: UpdateCache + run: | + curl https://apis.bmclapi.online/api/93/refreshcache \ No newline at end of file