diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3f12ed6b396859007e22be32f6eb486524b3862b..3e8a6bd3ef15b4c532265d0337efbf6e52c4d42a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -22,7 +22,7 @@ deploy-job: # This job runs in the deploy stage. - echo "Deploying application..." - echo "Application successfully deployed." - whoami - - rm -rf /var/www/photogram + - 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