Skip to content

Commit

Permalink
Update readme for vercel build redeployment. (#135)
Browse files Browse the repository at this point in the history
* Update readme for vercel build redeployment.

* Update readme.
  • Loading branch information
yoonghan authored Feb 21, 2023
1 parent 111584f commit c6ad1fb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,11 @@ git add backstopjs.approve
git push
```

# Vercel/NextJS

1. NextJS on vercel re-uses .next build cache. This sometimes creates an issue, e.g. a page that was once deployed as AMP will forever be recognized as AMP until the cache is cleared.
2. To build without previous build cache; click redeploy button from Vercel dashboard(a menu from the 3 vertical dots) and uncheck "Build with previous build cache".

[build-badge]: https://img.shields.io/github/actions/workflow/status/yoonghan/Walcron/pull-request.yml
[build]: https://github.com/yoonghan/Walcron/actions?query=workflow%3Avalidator
[coverage-badge]: https://img.shields.io/codecov/c/github/yoonghan/Walcron.svg?style=flat-square
Expand Down

1 comment on commit c6ad1fb

@vercel
Copy link

@vercel vercel bot commented on c6ad1fb Feb 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.