.gitlab-ci.yml 595 Bytes
Newer Older
Alfakhori's avatar
Alfakhori committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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