Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
45 lines (31 loc) · 1.61 KB

File metadata and controls

executable file
·
45 lines (31 loc) · 1.61 KB

Auth0 Webtasks - deploy

The serverless deploy command deploys either your entire service or a single Function of your service to the Auth0 Webtasks platform.

serverless deploy

Options

  • --stage or -s The stage in your service that you want to deploy to. The default stage is 'dev'.
  • --profile or -p The Auth0 Webtasks profile to use when deploying your service. The 'serverless' profile is used by default.

Examples

Deploying an entire service

serverless deploy

This example will deploy all of the Functions specified in the service to the Auth0 Webtasks platform. If a given function was previously deployed, it will be re-deployed with the current version of the code.

All of the Functions will be deployed with the default 'dev' stage. Functions deployed to different stages are different webtasks on the Auth0 Webtasks platform and therefore have distinct URLs.

Deploying a single function

serverless deploy function -f main

This example will deploy only the 'main' function to the Auth0 Webtasks platform. If the 'main' function was previously deployed, it will be re-deployed with the current version of the code.

The 'main' Function will be deployed with the default 'dev' stage.