Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Overriding custom content does not work #263

Closed
aroques opened this issue May 19, 2019 · 2 comments
Closed

Overriding custom content does not work #263

aroques opened this issue May 19, 2019 · 2 comments

Comments

@aroques
Copy link

aroques commented May 19, 2019

Followed the directions on the wiki to add custom content: https://github.com/awslabs/aws-api-gateway-developer-portal/wiki/Customization.

Have custom content in dev-portal/public/custom-content/ and run sam package, then sam deploy with StaticAssetRebuildToken="[CurrentTimeStamp]" and StaticAssetRebuildMode="overwrite_content", and no custom content is rendered in my dev portal website. Nor is it uploaded to my static assets bucket. Is this a bug or am I performing some step incorrectly?

@aroques
Copy link
Author

aroques commented May 22, 2019

StaticAssetRebuildMode needs to be "overwrite-content" not "overwrite_content". The documentation here and customization page on the wiki should be updated.

Looks like Pull request #206 will update the wiki. Would be nice if the AWS docs could be updated as well.

echo-bravo-yahoo added a commit that referenced this issue May 22, 2019
Should be overwrite-content, not overwrite_content:
#263 (comment)
@echo-bravo-yahoo
Copy link
Contributor

Ah! I've updated the wiki and CFN template, and will see about updating the docs. Thanks for the bug report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants