From 42ef81451cc7d0990e695bf02b6bf6b527a443c0 Mon Sep 17 00:00:00 2001
From: Daya Adianto <dayaadianto@cs.ui.ac.id>
Date: Tue, 3 Oct 2023 02:39:35 +0700
Subject: [PATCH] Attempt to fix deploy script on CI/CD config

---
 .gitlab-ci.yml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 027b331..f46183e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -105,12 +105,11 @@ deploy:
   stage: deploy
   image: 
     name: docker.io/flyio/flyctl:v0.1.103
-    entrypoint: ["/flyctl"]
+    entrypoint: [""]
   variables:
     FLY_API_TOKEN: $PRODUCTION_FLY_API_TOKEN
   rules: !reference [.upstream-deploy-production-rules, rules]
-  script:
-    - deploy --remote-only
+  script: "/flyctl deploy --remote-only"
   environment:
     name: production
     url: https://sitodo-pmpl.fly.dev
-- 
GitLab