Zum Inhalt springen

Deploy To Fly.io

Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.

  1. Deploy to Fly with the following:

    Terminal window
    fly launch && fly deploy

    If you do not have an existing Fly project, this command will help you set up one.

  2. Next, set all the environment variables from your local .env file to Fly infrastructure via the following command:

    Terminal window
    fly secrets set VAR_NAME=VAR_VAL
  3. Finally, deploy to Fly (again) with the following:

    Terminal window
    fly launch && fly deploy
  4. Now that’s set up, you can deploy in future iterations only by executing the command once.