Skip to content

Conversation

@marcel0ll
Copy link
Member

2025-06-30_00-51

Copy link
Contributor

@samuelgrigolato samuelgrigolato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testei local e está funcionando okay

seria legal ter uma maneira de limitar o oauth pra só dar permissão no repositório opensanca/website, tipo um fine-grained access token, mas não achei como fazer isso =(

do jeito que está, a autenticação é muito OP

@@ -0,0 +1,17 @@
backend:
name: github
repo: opensanca/website # Path to your GitHub repository
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

testei aqui local e apareceu isso aqui:

image

pra quem exatamente estou dando acesso? não entendi muito bem o que a Netlify está fazendo por nós aqui

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://decapcms.org/docs/github-backend/

decaporg/decap-cms#663 (comment)

Eu imaginei que desse para ser mais granular o acesso, mas esses links explicam pq precisa da netlify ali no meio.
Basicamnete eles facilitam o uso da api do github pelo oauth para poder fazer os commits por voce dentro do cms

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.

3 participants