Skip to content

Test SQLite

Test SQLite #2170

Workflow file for this run

name: Test SQLite
on:
schedule:
- cron: "*/15 * * * *" # 15 mins
workflow_dispatch:
jobs:
save_data:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x' # Specify your Python version
- name: Install dependencies
run: pip install requests
- name: Update Pricing Days
env:
API_KEY: ${{ secrets.TSM_API_KEY }}
run: python dbfetch.py
- name: Commit and push changes
run: |
git config --local user.email "actions@github.com"
git config --local user.name "GitHub Actions"
git add .
git commit -m "Add latest pricing data JSON file"
git push