Update .gitlab-ci.yml

parent b25f89e8
...@@ -6,11 +6,11 @@ landing-page: ...@@ -6,11 +6,11 @@ landing-page:
only: only:
- dev - dev
script: script:
- zip landingpages.zip -r * -x .gitlab-ci.yml .gitignore @
- ls
- rm -rf /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/* - rm -rf /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/*
- cp ./* /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/ - cp -r ./* /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/
- chown -R $PROJECT_NAME:$PROJECT_NAME /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/* - chown -R $PROJECT_NAME:$PROJECT_NAME /home/$PROJECT_NAME/web/lp.dev.wconsults.ru/public_html/*
- zip landingpages.zip -r * -x .gitlab-ci.yml .gitignore @
- ls
artifacts: artifacts:
paths: paths:
- landingpages.zip - landingpages.zip
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment