vtexdocs / helpcenter

https://leafy-mooncake-7c2e5e.netlify.app
https://leafy-mooncake-7c2e5e.netlify.app
2 stars 0 forks source link

Migração de imagens do contentful para o github #83

Open PedroAntunesCosta opened 2 months ago

PedroAntunesCosta commented 2 months ago

Todas as imagens do Help Center estão hospedadas no Contentful. Precisamos migrá-las para o Github. O ideal é que isso seja parte da action do repo help-center-content que puxa o conteúdo dos artigos do Contentful.

julia-rabello commented 1 month ago

There's already a script dedicated to storing images on github (update-images.js) run by an action triggered by pull requests, but it fails on most pull requests due to the lack of image compression.

Example:

remote: warning: File images/pt/importacao-de-pedidos-amazon-dba-0.gif is 53.15 MB; this is larger than GitHub's recommended maximum file size of 50.00 MB        
remote: error: Trace: 26f7634c1754cb5122bf0bcd2d0132c8fdcb27c3226ac5dbda08c6671720663f        
remote: error: See https://gh.io/lfs for more information.        
remote: error: File images/pt/skus-recebidos-beta-0.gif is 222.32 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: File images/en/offer-status-0.gif is 207.82 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: File images/es/modulo-status-de-los-anuncios-para-integraciones-con-marketplaces-vtex-0.gif is 225.69 MB; this exceeds GitHub's file size limit of 100.00 MB        
remote: error: File images/pt/modulo-status-dos-anuncios-para-integracoes-com-marketplaces-vtex-0.gif is 227.28 MB; this exceeds GitHub's file size limit of 100.00 MB
ricardoaerobr commented 1 month ago

Será necessário:

PedroAntunesCosta commented 1 week ago

PR da migração