Skip to content

Update index.html

Update index.html #381

Workflow file for this run

name: Save Pricing Data
#on:
#schedule:
#- cron: "*/15 * * * *" # 15 mins
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: Save Pricing Data
env:
API_KEY: ${{ secrets.TSM_API_KEY }}
run: python script.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