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:
stage: test
script:
- docker build -t web:test .
- docker run -d -p 8080:80 web:test
- wget http://docker:8080 --output-document fetched.html
- cmp fetched.html web/index.html
- docker run -d -p 80:80 web:test
- wget http://docker:80 --output-document fetched.html
- cmp fetched.html web/index.html || echo "Wrong HTML document"
publish:
stage: build
......
Supports Markdown
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