From 6b4e6e6436c64a1366fdeb54616feab52dea4167 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Thu, 21 Jul 2022 11:19:25 -0400 Subject: [PATCH] Use flyio/flyctl instead of downloading flyctl --- .woodpecker/.deploy.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.woodpecker/.deploy.yml b/.woodpecker/.deploy.yml index 03c5073..6114dd1 100644 --- a/.woodpecker/.deploy.yml +++ b/.woodpecker/.deploy.yml @@ -1,15 +1,11 @@ pipeline: deploy: - image: alpine:latest + image: flyio/flyctl:latest commands: - - 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 + - /flyctl deploy --detach --remote-only secrets: [fly_api_token] depends_on: - build -skip_clone: true \ No newline at end of file +skip_clone: true