From 13b4c88e68303990bd9dc66167b410be98c3210f Mon Sep 17 00:00:00 2001 From: Sibidharan <sibidharan@icloud.com> Date: Thu, 28 Apr 2022 16:25:47 +0000 Subject: [PATCH] new config ci --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3e8a6bd3..34622268 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -23,9 +23,9 @@ deploy-job: # This job runs in the deploy stage. - echo "Application successfully deployed." - whoami - sudo rm -rf /var/www/photogram - - cp -r /home/gitlab-runner/builds/zqWS2XpW/0/sibidharan/php-class-project /var/www/ - - mv /var/www/php-class-project /var/www/photogram - - rm -rf /var/www/photogram/.git + - sudo cp -r /home/gitlab-runner/builds/zqWS2XpW/0/sibidharan/php-class-project /var/www/ + - sudo mv /var/www/php-class-project /var/www/photogram + - sudo rm -rf /var/www/photogram/.git tags: - prod only: -- GitLab