mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 04:57:18 +08:00
Update agent Fly.io deployment instructions
This commit is contained in:
parent
c884831a07
commit
19d48bd52d
1 changed files with 5 additions and 5 deletions
|
@ -207,14 +207,14 @@ defmodule LivebookWeb.Hub.Teams.DeploymentGroupAgentComponent do
|
|||
envs = Enum.map_join(env, " \\\n", fn {key, value} -> ~s/ #{key}="#{value}"/ end)
|
||||
|
||||
"""
|
||||
APP_NAME="my_name"
|
||||
# Create a directory for your Fly app config
|
||||
mkdir my-app
|
||||
cd my-app
|
||||
|
||||
flyctl apps create $APP_NAME
|
||||
flyctl launch --image #{image}
|
||||
|
||||
flyctl secrets set --app $APP_NAME \\
|
||||
flyctl secrets set \\
|
||||
#{envs}
|
||||
|
||||
flyctl deploy --app $APP_NAME --image #{image}
|
||||
"""
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue