Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Generate Data

Generate Data #468

Workflow file for this run

name: Generate Data
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
env:
GIT_CONFIG_NAME: "[Automated] Yui"
GIT_CONFIG_EMAIL: [email protected]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 17
cache: "npm"
- run: npm ci
- name: πŸ—οΈ Generate data
run: npm start
- name: πŸš€ Push data
uses: zyrouge/[email protected]
with:
directory: dist
branch: data
local-username: ${{ env.GIT_CONFIG_NAME }}
local-email: ${{ env.GIT_CONFIG_EMAIL }}
commit-message: "[automated] update data (${{ github.sha }})"
allow-empty-commit: true