tidev / titanium-docs

We use VuePress for Guides and API docs.
https://titaniumsdk.com
Apache License 2.0
13 stars 22 forks source link

Remove api docs before generating, trigger deploy if there were changes #131

Closed ewanharris closed 2 years ago

ewanharris commented 2 years ago

This removes the api docs before running the generation scripts and also adds triggering a deploy if there were changes. It also removes the clean:guide npm script as that was only useful when the guides were being generated from the wiki, now it would remove all guides content which would be bad.

This will require someone to create a REGEN_BUILDS_DOCS_GITHUB_TOKEN environment variable in GitHub.