Commit 5e9d1aca authored by Matthieu FAURE's avatar Matthieu FAURE

Merge branch '55-set-values-for-production-environment' into 'develop'

Resolve "Set values for production environment"

Closes #55

See merge request !47
parents 5c17bd91 96ab6623
Pipeline #6325 passed with stages
in 5 minutes and 44 seconds
......@@ -5,6 +5,7 @@ stages:
- syntax
- build
- tests
- release
# Select what we should cache
cache:
......@@ -23,13 +24,18 @@ lint:
build:
stage: 'build'
script:
- ng build --prod
- ng build
test:
stage: 'tests'
script:
- ng test --browsers PhantomJS --watch=false --code-coverage
release:
stage: 'release'
script:
- rm -rf dist/
- ng build --prod
artifacts:
paths:
- dist
expire_in: 30 days
name: "e-collectivite-angular-client-$CI_COMMIT_REF_SLUG"
test:
stage: 'tests'
script:
- ng test --browsers PhantomJS --watch=false --code-coverage
export const environment = {
production: true,
apiUrl: '__API__BASE_URL__/api/v1',
loginUrl: '__LOGIN_URL__'
apiUrl: 'https://ecollectivite-backend.demonstrations.adullact.org/api/v1',
loginUrl: 'https://ecollectivite-backend.demonstrations.adullact.org/api/v1/users/login'
};
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