Skip to content

Commit

Permalink
触发一次,并更新文件名
Browse files Browse the repository at this point in the history
  • Loading branch information
youyou-sudo authored Sep 4, 2024
1 parent 8ee15f1 commit 96d5e46
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/vndb-process.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
name: Process VNDB Data

on:
schedule:
- cron: '0 0 */3 * *' # 每三天执行一次,UTC 时间
push:
branches:
- main

permissions:
contents: write
Expand Down Expand Up @@ -41,8 +42,7 @@ jobs:
# Define variables
RELEASE_TAG="v1.0.0"
FILE_PATH="vn_data.json"
CURRENT_DATE=$(date +'%Y-%m-%d')
FILE_NAME="vndb-data-${CURRENT_DATE}.json"
FILE_NAME="vndb-data-Latest.json"
# Upload the file to the existing release
RESPONSE=$(curl -s -X POST \
Expand Down

0 comments on commit 96d5e46

Please sign in to comment.