.gitlab-ci.yml 232 Bytes
Newer Older
Wolfgang Knopki's avatar
Wolfgang Knopki committed
1
2
variables:
  EXPORT_DIR: "/var/www/html/pages"
GitLab's avatar
GitLab committed
3

Wolfgang Knopki's avatar
Wolfgang Knopki committed
4
pages-master:
GitLab's avatar
GitLab committed
5
6
  stage: deploy
  script:
Wolfgang Knopki's avatar
Wolfgang Knopki committed
7
8
9
10
11
12
    - mkdir "$EXPORT_DIR/$CI_PROJECT_NAME"	
    - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
  tags: 
    - production
  only: 
    - master