Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .github/workflows/update_data.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Updata Microsoft Stock Price Data

on:
schedule:
# weekly
- cron: "0 0 * * 0"
# support manual trigger
workflow_dispatch:

jobs:
update_data:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: pip
- name: Install dependencies
run: pip install -r requirements.txt
- name: Update data
run: python lab_13/update_data.py
Loading
Loading