Skip to content

Commit

Permalink
move deploy params from package.json script to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
demetriusfeijoo committed Jan 3, 2024
1 parent 134e50b commit d40f8a0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 1 addition & 4 deletions picker-starter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,5 @@ You should see this:
Deploy your field plugin with the [CLI](https://www.npmjs.com/package/@storyblok/field-plugin-cli). Issue a [personal access token](https://app.storyblok.com/#/me/account?tab=token), rename `.env.local.example` to `.env.example`, open the file, set the value `STORYBLOK_PERSONAL_ACCESS_TOKEN`, and from the **plugin's root folder**, run the following command:

```shell
yarn build

# Deploy it using the CLI
npx @storyblok/field-plugin-cli@latest deploy
yarn deploy
```
4 changes: 2 additions & 2 deletions picker-starter/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"lint": "eslint .",
"check:types": "vue-tsc --noEmit",
"preview": "vite preview",
"deploy": "npm run build && npx @storyblok/field-plugin-cli@latest deploy --name sb-picker-starter --scope partner-portal"
"deploy": "npm run build && npx @storyblok/field-plugin-cli@latest deploy"
},
"dependencies": {
"@storyblok/design-system": "^3.19.3",
Expand All @@ -38,4 +38,4 @@
"vitest": "^0.34.6",
"vue-tsc": "1.8.6"
}
}
}

0 comments on commit d40f8a0

Please sign in to comment.