Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
log2 committed Aug 5, 2024
1 parent b96c978 commit 98d60df
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Scheduled Script

on:
schedule:
cron: '10 * * * *'
push:
branches: [ "main" ]

jobs:
run-script:
name: Run Script
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run script
run: python main.py

0 comments on commit 98d60df

Please sign in to comment.