From 5a4a55fef064d560dca9af7fba7edde3928d5fc6 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Thu, 21 Jul 2022 11:22:46 -0400 Subject: [PATCH] Revert "Use flyio/flyctl instead of downloading flyctl" This reverts commit 6b4e6e6436c64a1366fdeb54616feab52dea4167. --- .woodpecker/.deploy.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml index 6114dd1..03c5073 100644 --- a/.woodpecker/.deploy.yml +++ b/.woodpecker/.deploy.yml @@ -1,11 +1,15 @@ pipeline: deploy: - image: flyio/flyctl:latest + image: alpine:latest commands: - - /flyctl deploy --detach --remote-only + - apk update && apk --no-cache add curl git + - wget -O - https://fly.io/install.sh | sh + - git clone https://codeberg.org/video-prize-ranch/fly-cfg.git + - cd fly-cfg + - /root/.fly/bin/flyctl deploy --detach secrets: [fly_api_token] depends_on: - build -skip_clone: true +skip_clone: true \ No newline at end of file