diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2a9b56b..f0081c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -5,7 +5,6 @@ stages: develop-build-job: stage: build tags: - - build - node script: - echo "Install dependencies..." @@ -17,7 +16,6 @@ develop-build-job: master-build-job: stage: build tags: - - build - node script: - echo "Install dependencies..." @@ -32,7 +30,6 @@ master-build-job: deploy-job: stage: deploy tags: - - deploy - node when: manual environment: @@ -50,4 +47,4 @@ deploy-job: - scp -P "$Live_Server_Access_Port" -o StrictHostKeyChecking=no ../inkletblot-com.tar.gz "$Live_Server_User"@"$Live_Server_IP":/var/www/html - ssh -p "$Live_Server_Access_Port" "$Live_Server_User"@"$Live_Server_IP" "rm -Rf /var/www/html/inkletblot-com_old && mv /var/www/html/inkletblot-com /var/www/html/inkletblot-com_old && mkdir /var/www/html/inkletblot-com_build && mkdir /var/www/html/inkletblot-com && tar zxf /var/www/html/inkletblot-com.tar.gz -C /var/www/html/inkletblot-com_build && mv /var/www/html/inkletblot-com_build/dist/inkletblot-com/* /var/www/html/inkletblot-com && rm -Rf /var/www/html/inkletblot-com_build && chmod -R 755 /var/www/html/inkletblot-com && exit" only: - - master \ No newline at end of file + - master