From 6d7c9ebbe71a20bb1ad4323a459f41f443b2cd0f Mon Sep 17 00:00:00 2001 From: Olivier Demers Date: Fri, 17 Feb 2023 10:34:44 -0500 Subject: [PATCH] added main branch deploy --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3aece73..e1747bc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -12,3 +12,18 @@ deploy-beta: url: http://beta.pls5618.com except: - main + +deploy: + tags: + - website + stage: deploy + script: + - echo "Deploy to server" + - npm install + - npm run build + - ncftpput -R -u $ftp_user -p $ftp_pass pls5618.com beta build/* + environment: + name: beta + url: http://beta.pls5618.com + only: + - main