Skip to content

.github/workflows/cron.yaml #271

.github/workflows/cron.yaml

.github/workflows/cron.yaml #271

Workflow file for this run

on:
schedule:
- cron: "0 2 * * *"
# manual run
workflow_dispatch:
inputs:
jobs:
glados-sign:
runs-on: ubuntu-latest
steps:
- name: Get Repo Directory
uses: actions/checkout@v3
- name: Set Up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
- name: Set Env
run: |
pip install yagmail requests
- name: Run
env:
EMAIL: ${{ secrets.EMAIL }}
PASSWORD: ${{ secrets.PASSWORD }}
run: |
cd scripts
python glados-signin.py