diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..a3c34d98e314e7e5766998773abc267ee0846c59 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,25 @@ +stages: + - test + - deploy + +pages-test: + stage: test + script: + - echo "Teste, ob Projektname gesetzt ist..." + - (! grep 'projektname= ""' public/settings.js) + - echo "Teste, ob Projektseitenlink gesetzt ist..." + - (! grep 'projektseitenlink= ""' public/settings.js) + - echo "Teste, ob Kontaktperson gesetzt ist..." + - (! grep 'Max Mustermann' public/kontakt.html) + only: + - Rosenstein + +pages: + stage: deploy + script: + - echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/" + artifacts: + paths: + - vcm + only: + - Rosenstein