Skip to content

.github/workflows/main.yml #41

.github/workflows/main.yml

.github/workflows/main.yml #41

Workflow file for this run

name: Updates
on:
schedule:
- cron: '0 0 */2 * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: 3.x
- name: Set API Key
run: echo "API_KEY=${{ secrets.API_KEY }}" >> $GITHUB_ENV
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Your Code
timeout-minutes: 3
run: |
python main.py