From f3ac0369b1e40e3721bfa29135511ea5e22cb701 Mon Sep 17 00:00:00 2001 From: video-prize-ranch Date: Sat, 4 Jun 2022 19:48:31 -0400 Subject: [PATCH] Add deploy stage [skip ci] --- .gitlab-ci.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index df220ee..a814eeb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -4,6 +4,7 @@ variables: stages: - build + - deploy docker: image: docker:20 @@ -26,3 +27,14 @@ docker: artifacts: paths: - rimgo + +deploy: + image: alpine:latest + stage: deploy + before_script: + - 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 + script: + - cd fly-cfg + - /root/.fly/bin/flyctl deploy --no-cache --detach \ No newline at end of file