Skip to content
Snippets Groups Projects
Commit 67d21555 authored by François Agneray's avatar François Agneray
Browse files

Fixed bug database effects navigate

parent 17d24e76
No related branches found
No related tags found
1 merge request!29Develop
......@@ -4,6 +4,7 @@ stages:
- sonar
- build
- dockerize
- deploy
variables:
VERSION: "3.7.0"
......@@ -81,3 +82,17 @@ dockerize:
- docker pull $CI_REGISTRY/anis/anis-next/client:latest || true
- docker build --cache-from $CI_REGISTRY/anis/anis-next/client:latest -t $CI_REGISTRY/anis/anis-next/client:latest .
- docker push $CI_REGISTRY/anis/anis-next/client:latest
deploy:
image: alpine
stage: deploy
variables:
GIT_STRATEGY: none
cache: {}
dependencies: []
script:
- apk add --update curl
- curl -XPOST $DEV_WEBHOOK_CLIENT
only:
refs:
- develop
\ No newline at end of file
......@@ -48,7 +48,7 @@ export class DatabaseEffects {
this.actions$.pipe(
ofType(databaseActions.addDatabaseSuccess),
tap(() => {
this.router.navigate(['/admin/survey/database-list']);
this.router.navigate(['/admin/database-list']);
this.toastr.success('Database successfully added', 'The new database was added into the database')
})
), { dispatch: false}
......@@ -77,7 +77,7 @@ export class DatabaseEffects {
this.actions$.pipe(
ofType(databaseActions.editDatabaseSuccess),
tap(() => {
this.router.navigate(['/admin/survey/database-list']);
this.router.navigate(['/admin/database-list']);
this.toastr.success('Database successfully edited', 'The existing database has been edited into the database')
})
), { dispatch: false}
......
......@@ -3,6 +3,7 @@ stages:
- test
- sonar
- dockerize
- deploy
variables:
VERSION: "3.7"
......@@ -70,3 +71,17 @@ dockerize:
- docker pull $CI_REGISTRY/anis/anis-next/server:latest || true
- docker build --cache-from $CI_REGISTRY/anis/anis-next/server:latest -t $CI_REGISTRY/anis/anis-next/server:latest .
- docker push $CI_REGISTRY/anis/anis-next/server:latest
deploy:
image: alpine
stage: deploy
variables:
GIT_STRATEGY: none
cache: {}
dependencies: []
script:
- apk add --update curl
- curl -XPOST $DEV_WEBHOOK_SERVER
only:
refs:
- develop
\ No newline at end of file
stages:
- dockerize
- deploy
variables:
VERSION: "3.7"
......@@ -15,3 +16,17 @@ dockerize:
- docker pull $CI_REGISTRY/anis/anis-next/services:latest || true
- docker build --cache-from $CI_REGISTRY/anis/anis-next/services:latest -t $CI_REGISTRY/anis/anis-next/services:latest .
- docker push $CI_REGISTRY/anis/anis-next/services:latest
deploy:
image: alpine
stage: deploy
variables:
GIT_STRATEGY: none
cache: {}
dependencies: []
script:
- apk add --update curl
- curl -XPOST $DEV_WEBHOOK_SERVICES
only:
refs:
- develop
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment