Skip to content

Commit

Permalink
fix(action): push.yaml bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
sctop committed Apr 13, 2024
1 parent 0286d81 commit 54bc681
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,28 @@ on:
- 'main_v2'
workflow_dispatch:
repository_dispatch:
types: [ost-data-push-direct]
types: [ost-data-update-event]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
with:
submodules: 'recursive'
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Run main_quick_test.py
- name: Run main.py
run: |
mkdir -p data_export
python main_quick_test.py
python main.py
- name: Generator Dispatch
uses: peter-evans/repository-dispatch@v1
with:
token: ${{ secrets.ACTION_SCRIPT }}
event-type: ost-data-parser-push-direct
repository: BA-OST-Index/ost_data_site_generator
repository: BA-OST-Index/ost_data_site_generator

0 comments on commit 54bc681

Please sign in to comment.