Edit on github

#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.

Made with love in San Francisco + Atlanta, Austria, Germany, Pakistan, Poland, Nebraska & Thailand

Serverless, Inc. © 2018

Join our newsletter and get the latest news about Serverless products and happenings. #noSpamWePromise