Commit 1018b30f authored by Sandeep Kadam's avatar Sandeep Kadam

Final fix for env variable to validate step

parent 9f19feea
Pipeline #113325 passed with stages
in 1 minute and 13 seconds
......@@ -81,7 +81,6 @@ deploy-prod:
validate_dev:
stage: validate
script:
- ls -l
- set -a; source ${CI_PROJECT_DIR}/.env; set +a;
- curl -L ${DEV_SITE_URL} | cmp ${CI_PROJECT_DIR}/dist/index.html -
only:
......@@ -90,6 +89,7 @@ validate_dev:
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 -
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