diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a428841390ef186defc54318db125a7398130147..c9f5fadb6c31741d7ac353a8e126031b21b289d3 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,11 @@ -variables: - EXPORT_DIR: "/var/www/html/pages" +image: alpine:latest -pages-master: +pages: stage: deploy script: - - mkdir -p "$EXPORT_DIR/$CI_PROJECT_NAME" - - cp -r public/* "$EXPORT_DIR/$CI_PROJECT_NAME" - tags: - - production - only: - - master + - echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/" + artifacts: + paths: + - public + only: + - master