Ingest Test Results #222
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Ingest Test Results | |
on: | |
schedule: | |
# Daily build at 14:00 | |
- cron: "0 14 * * * " | |
# Manual run | |
workflow_dispatch: | |
jobs: | |
ingest_data: | |
name: Ingest Data | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
architecture: x64 | |
- name: Install dependencies | |
run: pip install -r requirements.txt | |
- name: Ingest | |
run: bash ./dataIngest.sh | |
- name: Deploy 🚀 | |
uses: JamesIves/[email protected] | |
with: | |
branch: gh-pages # The branch the action should deploy to. | |
folder: html # The folder the action should deploy. | |
git-config-name: github-actions[bot] | |
git-config-email: github-actions[bot]@users.noreply.github.com | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
branch: main | |
push_options: '--force' | |
commit_options: '--no-verify --signoff' | |
commit_message: Update database | |
create_branch: true | |
file_pattern: 'testResults.db' | |