Unverified Commit d3c535ca authored by Peter Walter's avatar Peter Walter Committed by GitHub
Browse files

Update .gitlab-ci.yml

parent 326f5f5b
......@@ -82,7 +82,7 @@ validate_dev:
stage: validate
script:
- set -a; source ${CI_PROJECT_DIR}/.env; set +a;
- curl -L ${DEV_SITE_URL} | cmp ${CI_PROJECT_DIR}/dist/index.html -
- curl -L "${DEV_SITE_URL}?${CI_COMMIT_SHA}" | cmp ${CI_PROJECT_DIR}/dist/index.html -
only:
- master
......@@ -90,6 +90,6 @@ validate_prod:
stage: validate
script:
- set -a; source ${CI_PROJECT_DIR}/.env; set +a;
- curl -L ${PROD_SITE_URL} | cmp ${CI_PROJECT_DIR}/dist/index.html -
- curl -L "${PROD_SITE_URL}?${CI_COMMIT_SHA}" | cmp ${CI_PROJECT_DIR}/dist/index.html -
only:
- tags
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