.gitlab-ci.yml 235 Bytes
Newer Older
Joe's avatar
update    
Joe committed
1
2
3
4
variables:
  EXPORT_DIR: "/var/www/html/pages"

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