-
Wolfgang Knopki authoredcd022528
This GitLab CI configuration is valid.
Learn more
image: alpine:latest
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:
- master
pages:
stage: deploy
script:
- echo "deploy to https://transfer.hft-stuttgart.de/pages/$CI_PROJECT_PATH/"
artifacts:
paths:
- public
only:
- master