From 9ab307df33e523f648dd89d907bded9a96817669 Mon Sep 17 00:00:00 2001 From: DJ Gillespie Date: Wed, 17 May 2023 20:33:42 -0600 Subject: [PATCH] added env exports to add fly to the path --- bitbucket-pipelines.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index 99cb89d..ddedb06 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -12,7 +12,9 @@ definitions: script: - apt-get update -qq && apt-get install -y curl - curl -L https://fly.io/install.sh | sh - - fly deploy -a $FLY_APP_NAME + - export FLYCTL_INSTALL="/root/.fly + - export PATH="$FLYCTL_INSTALL/bin:$PATH" + - flyctl deploy -a $FLY_APP_NAME pipelines: