From a7678c0777feec953fcc05bb3956d284e43a92a9 Mon Sep 17 00:00:00 2001 From: Wolfgang Knopki Date: Tue, 9 Mar 2021 16:23:31 +0000 Subject: [PATCH] Update .gitlab-ci.yml --- .gitlab-ci.yml | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index a428841..c9f5fad 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 -- GitLab