.gitlab-ci.yml 291 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:
Joe's avatar
try    
Joe committed
7
    - mkdir -p "$EXPORT_DIR/$CI_PROJECT_PATH_SLUG"
Joe's avatar
update    
Joe committed
8
    - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_PATH_SLUG"
Joe's avatar
echo    
Joe committed
9
    - echo "$EXPORT_DIR/$CI_PROJECT_PATH_SLUG"
Joe's avatar
add tag    
Joe committed
10
  tags: 
Joe's avatar
tag    
Joe committed
11
    - dockerized
Joe's avatar
update    
Joe committed
12
13
  only: 
    - master