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

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