jobindjohn / obsidian-publish-mkdocs

A Template to Publish Obsidian/Foam Notes on Github Pages (uses MkDocs)
Creative Commons Zero v1.0 Universal
524 stars 37 forks source link

Update ci.yml to Node 16 and add write permissions #31

Closed cobylim closed 1 year ago

cobylim commented 1 year ago

Related to issues #30 #26 #25 #24

28 and #25 have another solution to change all action permissions, but I think my fix requires less set-up and is more secure by not granting write access to all actions.

I've also upgraded it to use Node 16 as Node 12 will be deprecated by Summer 2023.

jobindjohn commented 1 year ago

Thanks for this PR @cobylim!