mattermost / mattermost-developer-documentation

Mattermost developer documentation.
https://developers.mattermost.com
BSD 3-Clause "New" or "Revised" License
79 stars 383 forks source link

Build plugin-data before publishing preview env #1372

Closed mvitale1989 closed 1 month ago

mvitale1989 commented 1 month ago

Summary

This fixes an issue with the preview environments, which were missing the site/data/PluginJSDocs.json file before being pushed to S3, resulting in the /integrate/reference/webapp/webapp-reference/#registry paragraph missing the Plugins API reference (see here for how it looks in prod).

Ticket Link

https://mattermost.atlassian.net/browse/CLD-6764

github-actions[bot] commented 1 month ago

Newest code from mvitale1989 has been published to preview environment for Git SHA 858e42b5f5995047b894682d96d0c818e54af72b

mvitale1989 commented 1 month ago

The above preview env looks ok: http://mattermost-dev-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/1372/integrate/reference/webapp/webapp-reference/#registry By contrast, previous PRs weren't showing the API reference. e.g. for PR 1371: http://mattermost-dev-docs-preview-pulls.s3-website-us-east-1.amazonaws.com/1371/integrate/reference/webapp/webapp-reference/#registry