Skip to content

Get Jam Tracks - FN Content #9376

Get Jam Tracks - FN Content

Get Jam Tracks - FN Content #9376

Workflow file for this run

name: Get Jam Tracks - FN Content
on:
schedule:
- cron: '*/10 * * * *'
permissions: write-all
jobs:
fetch_api:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.10"
- name: Install dependencies
run: pip install requests
- name: Save Jam Data
run: python festival.py
- name: Commit and push artifact
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git pull
git add festival/*
git commit -m "Update spark tracks" || echo 'nothing'
git push || echo 'nothing'