Skip to content

@fplan/deploy

A tool to deploy plans as *.fplan.io website.

Run pnpm build to build the project and then run pnpm deploy to deploy the project to the cloud.

Example package.json script:

json
"scripts": {
    "deploy": "node ./node_modules/@fplan/deploy dist expo123",

},
"devDependencies": {
    "@fplan/deploy": "workspace:*",
},

This will update expo123.fplan.io with the content of dist folder.

.env requirement

.env file should be present and contain the following variables:

env
DEPLOY_AWS_ACCESS_KEY_ID=xxx
DEPLOY_AWS_SECRET_ACCESS_KEY=xxx