Skip to content

Commit eaa59e4

Browse files
committed
Vercel flow updates
1 parent 3250787 commit eaa59e4

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Choose one of the following platforms to deploy your serverless WordPress site:
1111

1212
| Vercel (recommended) | Netlify | Serverless Framework (Lambda) |
1313
|---|---|---|
14-
| [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmitchmac%2Fserverlesswp&env=DATABASE,USERNAME,PASSWORD,HOST&envDescription=Database%20credentials%20from%20PlanetScale%20or%20other%20host&envLink=https%3A%2F%2Fgithub.com%2Fmitchmac%2FServerlessWP%23deploy-serverlesswp&project-name=serverlesswp&repository-name=serverlesswp) | [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/mitchmac/serverlesswp) | ```npm install && serverless deploy``` |
14+
| [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fmitchmac%2Fserverlesswp&project-name=serverlesswp&repository-name=serverlesswp) | [![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/mitchmac/serverlesswp) | ```npm install && serverless deploy``` |
1515
| 🕑 60 second requests | 10 second requests | 30 second requests |
1616
|    automatic branch deploy config | manual branch config | do-it-yourself |
1717
| 🗲 [Fluid compute](https://vercel.com/fluid) | single concurrency | single concurrency |

util/install.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ exports.validate = function(response) {
2323
if (!hasSQL && !hasSqliteS3) {
2424
let message = "<p>It appears that the required environment variables for the WordPress database aren't setup.</p>"
2525
+ "<p>If you don't have a database solution selected yet, there are a few options.</p>"
26-
+ "<p>Head over to the <a href='https://github.com/mitchmac/ServerlessWP?tab=readme-ov-file#3-update-the-environment-variables' target='_blank'>readme</a> to pick a data option and setup environment variables.</p>"
27-
+ `<p>You'll need to populate the environment variables for your site at Vercel or Netlify (<a href="${dashboardLink}" target="_blank">dashboard</a>)</p>`
26+
+ "<p>Head over to the <a href='https://github.com/mitchmac/ServerlessWP?tab=readme-ov-file#2-select-a-database-solution' target='_blank'>readme</a> to pick a data option and setup environment variables.</p>"
27+
+ `<p>You'll need to populate the environment variables for your site in the Vercel or Netlify (<a href="${dashboardLink}" target="_blank">dashboard</a>).</p>`
2828
+ '<p>Then <strong>remember to redeploy your site at Vercel or Netlify</strong> for the environment variables to be updated for the site.</p>';
2929

3030
return {

0 commit comments

Comments
 (0)