# This file is a template, and might need editing before it works on your project. # Full project: https://gitlab.com/pages/plain-html variables: EXPORT_DIR: "/var/www/html/pages" pages-master: stage: deploy script: - mkdir "$EXPORT_DIR/$CI_PROJECT_NAME" - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME" tags: - production artifacts: paths: - public expire_in: 1 day only: - master