.gitlab-ci.yml 235 Bytes
Newer Older
JOE Thunyathep S's avatar
update  
JOE Thunyathep S committed
1
2
3
4
5
6
7
8
9
10
11
12
variables:
  EXPORT_DIR: "/var/www/html/pages"

pages-master:
  stage: deploy
  script:
    - mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME"	
    - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME"
  tags: 
    - production
  only: 
    - master