ci: move all old workflow

This commit is contained in:
H01001000
2022-12-02 13:03:31 +08:00
parent 3a20634e93
commit 4154a9bbdc
8 changed files with 2 additions and 2 deletions

27
.github/oldWorkflows/validateCache.yml vendored Normal file
View File

@@ -0,0 +1,27 @@
name: Validate Cache
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
validate-cache:
name: Validate Cache
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: "benchies"
- uses: denoland/setup-deno@main
with:
deno-version: "v1.x"
- name: Check And Update Objects
run: deno run -A cache/checkAndUpdateObjects.ts
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
- name: Commit and push
uses: EndBug/add-and-commit@v9
with:
add: cache/cachedObject
message: "[Scheduled] Auto patch objects"