Initial commit
This commit is contained in:
commit
d50e6600fc
5 changed files with 277 additions and 0 deletions
25
.github/workflows/schedule.yml
vendored
Normal file
25
.github/workflows/schedule.yml
vendored
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
name: Run Python Script
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
run-script:
|
||||
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.x'
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
pip install -r requirements.txt
|
||||
- name: Run script
|
||||
env:
|
||||
USERNAME: ${{ secrets.USERNAME }}
|
||||
PASSWORD: ${{ secrets.PASSWORD }}
|
||||
run: |
|
||||
python kit.py
|
||||
Loading…
Add table
Add a link
Reference in a new issue