Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update.yml を更新 #16

Merged
merged 1 commit into from
Jan 5, 2025
Merged
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
6 changes: 3 additions & 3 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Check out the repository
uses: actions/checkout@v4

- name: Set up Node.js
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
Expand All @@ -27,7 +27,7 @@ jobs:
poetry install
poetry run python scripts/initialize_db.py # set up database

- name: Build the static site
- name: Fetch data
run: |
CURRENT_DATE=$(date -u +"%Y-%m-%d")
LAST_WEEK=$(date -u -d "7 days ago" +"%Y-%m-%d")
Expand All @@ -38,7 +38,7 @@ jobs:

- name: Export result data
run: |
poetry run python scripts/export_data.py
poetry run python scripts/export_db.py

- name: Commit and push changes
run: |
Expand Down