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

Script to download the schedule of any team for any year and prep for use #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

nwithan8
Copy link

@nwithan8 nwithan8 commented Mar 30, 2023

Call sh prepare_new_season.sh rockies and it will download and process the current year schedule and place files where they need to go.

Defaults to the current year via timestamp. Can specify a year via sh prepare_new_season.sh rockies 2023

Idea is you could build a GitHub Action on a yearly cron job that will update and deploy the site automatically. Also helps future users spin up their own team's sites faster.

@bbonet
Copy link

bbonet commented Mar 31, 2023

Nice work! You might note that this is for MLB, as at some point I adapted this for the Colorado Avalanche.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants