From e846dc1e383db6f645123fcf7d1ab2c577667085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yusuf=20Akg=C3=BCl?= <s86116@bht-berlin.de> Date: Thu, 25 May 2023 06:28:10 +0200 Subject: [PATCH] Update .gitlab-ci.yml file. Comment out deploy job. --- .gitlab-ci.yml | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index dee2e96..3d06cc2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,7 +20,7 @@ image: node:20 stages: # List of stages for jobs, and their order of execution - build - test - - deploy +# - deploy build-job: # This job runs in the build stage, which runs first. stage: build @@ -44,16 +44,16 @@ lint-test-job: # This job also runs in the test stage. - sleep 1 - echo "No lint issues found." -deploy-job: # This job runs in the deploy stage. - stage: deploy # It only runs when *both* jobs in the test stage complete successfully. - environment: production - only: - - main - script: - - echo "Deploying application..." - - npm install --foreground-scripts # without this= error - - npm install --global vercel - - vercel pull --yes --environment=production --token=$VERCEL_TOKEN - - vercel build --prod --token=$VERCEL_TOKEN - - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN - - echo "Application successfully deployed." +#deploy-job: # This job runs in the deploy stage. +# stage: deploy # It only runs when *both* jobs in the test stage complete successfully. +# environment: production +# only: +# - main +# script: +# - echo "Deploying application..." +# - npm install --foreground-scripts # without this= error +# - npm install --global vercel +# - vercel pull --yes --environment=production --token=$VERCEL_TOKEN +# - vercel build --prod --token=$VERCEL_TOKEN +# - vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN +# - echo "Application successfully deployed." -- GitLab