Skip to content

Update python-app.yml #4

Update python-app.yml

Update python-app.yml #4

Workflow file for this run

name: CI
on:
push:
branches:
- main
workflow_dispatch:
jobs:
build:
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.9'
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1
with:
install-chromedriver: true # Install ChromeDriver
install-dependencies: true # Install necessary dependencies for Chrome
- name: Install dependencies
run: |
pip install -r requirements.txt
- name: Run script
run: |
python main.py
env:
GOOGLE_SHEETS_CREDENTIALS: ${{ secrets.GOOGLE_SHEETS_CREDENTIALS }}