Skip to content

Commit

Permalink
add github action
Browse files Browse the repository at this point in the history
  • Loading branch information
capjamesg committed Nov 17, 2023
1 parent 015a346 commit 72b7210
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: run web.py

on:
schedule:
- cron: '0 1 * * *'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v2 # checkout the repository content

- name: setup python
uses: actions/setup-python@v4
with:
python-version: '3.10' # install the python version needed

- name: install python packages
run: |
python -m pip install --upgrade pip
pip3 install -r requirements.txt
- name: execute py script # run main.py
run: python web.py

0 comments on commit 72b7210

Please sign in to comment.