From 88b110ae5cac149aa6e491fb70f32d186de26813 Mon Sep 17 00:00:00 2001 From: Riegel <22rial1mpg@hft-stuttgart.de> Date: Thu, 1 Jun 2023 13:26:00 +0000 Subject: [PATCH] Update .gitlab-ci.yml file --- .gitlab-ci.yml | 27 +++++---------------------- 1 file changed, 5 insertions(+), 22 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6fdf0a0..47c6449 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,31 +1,14 @@ image: alpine:latest stages: - - test - - deploy - -test-job: - stage: test - script: - - echo "Testing files exist..." - - test -f public/index.html - - test -f public/main.js - - test -f public/settings.js - - test -f public/assets/css/style.css - - test -f public/assets/css/mobile.css - - test -f public/assets/images/header.jpg - - test -f public/assets/images/hft_logo.svg - - test -f public/home/index.html - - echo "Test finished, all ok" - only: - - master - + - deploy + pages: stage: deploy script: - - echo "Deploying to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/" + - echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/" artifacts: paths: - public - only: - - master \ No newline at end of file + only: + - master -- GitLab