Commit acaec31f authored by Nane Kratzke's avatar Nane Kratzke
Browse files

Aktualisieren .gitlab-ci.yml

parent fe85625b
...@@ -9,9 +9,9 @@ build-to-test: ...@@ -9,9 +9,9 @@ build-to-test:
stage: test stage: test
script: script:
- docker build -t web:test . - docker build -t web:test .
- docker run -d -p 8080:80 web:test - docker run -d -p 80:80 web:test
- wget http://docker:8080 --output-document fetched.html - wget http://docker:80 --output-document fetched.html
- cmp fetched.html web/index.html - cmp fetched.html web/index.html || echo "Wrong HTML document"
publish: publish:
stage: build stage: build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment