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

feat(ci): add scheduled job to update all themes #139

Merged
merged 1 commit into from
May 15, 2024
Merged

feat(ci): add scheduled job to update all themes #139

merged 1 commit into from
May 15, 2024

Conversation

emilioziniades
Copy link
Contributor

@emilioziniades emilioziniades commented May 13, 2024

I recently merged a PR to the zola-bearblog theme, and noticed that the readme hadn't updated on the zola website. After some investigation I discovered this repo. Instead of making the PR here to update all submodules, I thought it would make sense to create a github action to do the same thing.

It runs daily at 5:51 UTC. The github docs recommended not scheduling actions on the hour, so in search of a random time during the day, I picked the time of the first commit to zola.

The action commits the results to master if there are any changes, and the author of the commit is "[email protected]", see example here.

It can also be triggered manually from the github actions UI.

@Keats
Copy link
Collaborator

Keats commented May 14, 2024

Looks good can we put it in a weekly schedule? It will automatically create a PR on the zola repo and I don't want once a day.

@emilioziniades
Copy link
Contributor Author

emilioziniades commented May 14, 2024

Sure, I've updated the schedule to run every Monday at 5:51 UTC

@Keats Keats merged commit 850677a into getzola:master May 15, 2024
@Keats
Copy link
Collaborator

Keats commented May 15, 2024

thanks!

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