-
-
Notifications
You must be signed in to change notification settings - Fork 399
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
Add pdf sync and invalidate old cloudflare cache #2077
Conversation
@Serjlee you have access to repo setting page to add token and secrets? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's make sure to add .pdf
as an --exclude
of all syncs other than the pdf one, so they don't get deleted and then-reuploaded each time
Updated both staging and prod actions |
Hello, @Serjlee, i've try to put this branch in dev https://github.com/arduino/docs-content/actions/runs/10106670041 but it fail. Can you help me to try to understand the problem? |
Follow up to #2077, where I forgot we got _two_ identical actions
What This PR Changes
Actually we can't replace a datasheet file and keep the same url, as the files are distributed on a CDN. Since we decided to use static file for datasheet, we need to implement an action to invalidate old cache without store it.