Skip to content

Commit

Permalink
Create generate_json.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Ry0taK authored Jun 22, 2024
1 parent 5f61f92 commit f707205
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/generate_json.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Update all.json

on:
push:
branches:
- database

permissions:
contents: write

concurrency:
group: ${{ github.workflow }}

jobs:
generate-json:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332

- name: Sync database to main branch
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
ISSUE_PAYLOAD: ${{ toJson(github.event.issue) }}
run: |
node .github/scripts/generate-json.js

0 comments on commit f707205

Please sign in to comment.