microsoft / docusaurus-plugins

Plugins for Docusaurus and Rise4Fun
https://microsoft.github.io/docusaurus-plugins/
MIT License
12 stars 2 forks source link

Adding publish workflow file to allow publishing via actions #25

Closed scalvert closed 1 year ago

scalvert commented 1 year ago

Summary

Disables publishing from @release-it-plugin/workspaces, instead allowing us to publish via a workflow. This enables us to publish via the secrets.NPM_TOKEN, ensuring we don't have to manage secrets locally.

pelikhan commented 1 year ago

ready to test?

scalvert commented 1 year ago

ready to test?

Yes, but it's a two part publish. We use release-it to generate the changelog, tag, bump deps etc. And we use this workflow to do the NPM publish step, simply so that we can avoid worrying about tokens etc.

Once I've verified this works, I'll update the documentation describing the release process.