Skip to content

Commit

Permalink
add env variable to hide disclaimer, hide it for cypress tests
Browse files Browse the repository at this point in the history
  • Loading branch information
TIL-EBP committed Oct 29, 2024
1 parent 5a1a5f1 commit a52d410
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ jobs:
- name: Run build
run: npm run build
cypress:
env:
HIDE_DISCLAIMER: true
runs-on: ubuntu-latest
needs:
- test
Expand Down Expand Up @@ -180,7 +182,6 @@ jobs:
env:
DB_USER: ${{ env.DB_USERNAME }}
DB_PASSWORD: ${{ env.DB_PASSWORD }}
HIDE_DISCLAIMER: true
run: |
cd development
touch .env.ocr
Expand Down
2 changes: 1 addition & 1 deletion apps/server-asset-sg/.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ OAUTH_SHOW_DEBUG_INFO=true
OAUTH_TOKEN_ENDPOINT=http://localhost:4011/connect/token
OAUTH_AUTHORIZED_GROUPS=assets.swissgeol
ANONYMOUS_MODE=false
HIDE_DISCLAIMER=false
; HIDE_DISCLAIMER=false

OCR_SERVICE_URL=http://localhost:5052

0 comments on commit a52d410

Please sign in to comment.