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

Daily code tip sync runs scheduled but also on commit #4

Closed
bbelderbos opened this issue Dec 2, 2022 · 2 comments
Closed

Daily code tip sync runs scheduled but also on commit #4

bbelderbos opened this issue Dec 2, 2022 · 2 comments

Comments

@bbelderbos
Copy link
Owner

Leading to API error returns (no harm done though because codeimages api does not allow duplicate tips to be posted for a user).

image

=> top one was scheduled = good, bottom ones were upon commit = not wanted. Need to figure out how to NOT run cron upon committing new tips (which happens every day).

bbelderbos added a commit that referenced this issue Dec 2, 2022
don't want to run the cronjob on push - issue #4
@bbelderbos
Copy link
Owner Author

Last commit to main seems to have worked, only the pytest job ran, not the cronjob:

image

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

No branches or pull requests

1 participant