.gitlab-ci.yml 259 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

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