Add validation and deployment workflows

This commit is contained in:
2026-05-18 17:15:52 +02:00
parent ac3490f4f4
commit 1afc5e9e62
2 changed files with 16 additions and 1 deletions

15
.github/workflows/deploy.yml vendored Normal file
View File

@@ -0,0 +1,15 @@
name: Deploy Quiz Data
on:
push:
branches: [main]
jobs:
deploy:
runs-on: qaml-deploy
steps:
- uses: actions/checkout@v4
- name: Validate pytania.txt
run: php tools/validate_qaml.php pytania.txt
- name: Deploy data
run: deploy-quiz-data deklaratywne

View File

@@ -7,7 +7,7 @@ on:
jobs:
validate:
runs-on: ubuntu-latest
runs-on: qaml-validate
steps:
- uses: actions/checkout@v4
- name: Validate pytania.txt