Skip to content

Automate Spond Login and Booking #25

Automate Spond Login and Booking

Automate Spond Login and Booking #25

Workflow file for this run

name: Automate Spond Login and Booking
on:
schedule:
- cron: '59 19 * * 0' # Runs at 19:59 every Sunday
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out this repo
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Download and Run Chrome Installation Script
run: |
curl -sL https://raw.githubusercontent.com/actions/runner-images/main/images/ubuntu/scripts/build/install-google-chrome.sh | sudo bash
- name: Installed package list
run: apt list --installed
- name: Install all necessary packages
run: pip install -r requirements.txt
- name: Run script
env:
MY_EMAIL: ${{ secrets.MY_EMAIL }}
MY_PASSWORD: ${{ secrets.MY_PASSWORD }}
run: python main.py