2024-05-15 15:29:36 +02:00
|
|
|
name: Update bot data
|
|
|
|
|
|
|
|
# Configures this workflow to run every time a change is pushed to the branch called `release`.
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: ['main']
|
|
|
|
|
|
|
|
jobs:
|
2024-06-14 14:33:43 +02:00
|
|
|
validate-questions:
|
2024-05-15 15:29:36 +02:00
|
|
|
runs-on: ubuntu-latest
|
2024-06-14 14:33:43 +02:00
|
|
|
steps:
|
|
|
|
- name: Checkout repository
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
|
|
|
|
- name: Validate questions
|
|
|
|
run: python scripts/validate_questions.py
|
|
|
|
shell: sh
|
2024-05-15 15:29:36 +02:00
|
|
|
|
2024-06-14 14:33:43 +02:00
|
|
|
update-data:
|
|
|
|
runs-on: ubuntu-latest
|
2024-05-15 15:29:36 +02:00
|
|
|
steps:
|
|
|
|
- name: Call webhook
|
|
|
|
run: curl -X POST ${{secrets.DEPLOY_WEBHOOK}}
|