added env exports to add fly to the path

This commit is contained in:
DJ Gillespie 2023-05-17 20:33:42 -06:00
parent 6bbfbb6a95
commit 9ab307df33

View File

@ -12,7 +12,9 @@ definitions:
script: script:
- apt-get update -qq && apt-get install -y curl - apt-get update -qq && apt-get install -y curl
- curl -L https://fly.io/install.sh | sh - 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: pipelines: