Skip to content

Commit

Permalink
Fix Settings placeholders
Browse files Browse the repository at this point in the history
  • Loading branch information
gianlucaparadise committed May 2, 2022
1 parent fcfe370 commit 9027b81
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Vercel Deploy

[![npm version](https://badge.fury.io/js/strapi-plugin-vercel-deploy.svg)](https://badge.fury.io/js/strapi-plugin-vercel-deploy)

Strapi v4 plugin to trigger and monitor a deployment on Vercel.

![Vercel Deploy Logo](./assets/strapi-vercel-deploy-logo.png "Vercel Deploy Logo")
Expand Down
6 changes: 3 additions & 3 deletions admin/src/pages/SettingsPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const SettingsContainer = () => {
<FieldLabel required>Deploy Hook</FieldLabel>
<FieldInput
type="text"
placeholder="You need to set the VERCEL_DEPLOY_PLUGIN_HOOK environment variable"
placeholder="You need to set `deployHook` in plugin config"
value={deployHook}
disabled={true}
/>
Expand All @@ -109,7 +109,7 @@ const SettingsContainer = () => {
<FieldLabel required>API token</FieldLabel>
<FieldInput
type="text"
placeholder="You need to set the VERCEL_DEPLOY_PLUGIN_API_TOKEN environment variable"
placeholder="You need to set `apiToken` in plugin config"
value={apiToken}
disabled={true}
/>
Expand All @@ -128,7 +128,7 @@ const SettingsContainer = () => {
<FieldLabel>App Name</FieldLabel>
<FieldInput
type="text"
placeholder="You need to set the VERCEL_DEPLOY_PLUGIN_APP_FILTER environment variable"
placeholder="You need to set `appFilter` in plugin config"
value={appFilter}
disabled={true}
/>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "strapi-plugin-vercel-deploy",
"version": "0.9.3",
"version": "0.9.4",
"description": "Strapi v4 plugin to trigger and monitor a deployment on Vercel",
"repository": "https://github.com/gianlucaparadise/strapi-plugin-vercel-deploy.git",
"author": "gianlucaparadise <gianlucaparadise@gmail.com>",
Expand Down
6 changes: 3 additions & 3 deletions types/typedefs.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
/**
* Plugin config map
* @typedef {Object} PluginConfigMap
* @property {?string} deployHook Url of the git deploy hook exposed in Vercel. Env variable: VERCEL_DEPLOY_PLUGIN_HOOK
* @property {?string} apiToken API token for the Vercel integration. Env variable: VERCEL_DEPLOY_PLUGIN_API_TOKEN
* @property {?string} appFilter Name of the app to filter Vercel deployments. Env variable: VERCEL_DEPLOY_PLUGIN_APP_FILTER
* @property {?string} deployHook Url of the git deploy hook exposed in Vercel. Plugin config: `deployHook`
* @property {?string} apiToken API token for the Vercel integration. Plugin config: `apiToken`
* @property {?string} appFilter Name of the app to filter Vercel deployments. Plugin config: `appFilter`
*/

/**
Expand Down

0 comments on commit 9027b81

Please sign in to comment.