Skip to content

Commit

Permalink
Legg til mapping for nytt felt
Browse files Browse the repository at this point in the history
  • Loading branch information
frodank committed Nov 23, 2023
1 parent 6a6bc82 commit 4de0dcf
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on: [push]
env:
IMAGE: ghcr.io/${{ github.repository }}/rekrutteringsbistand-stilling-indekser:${{ github.sha }}

permissions:
contents: read
id-token: write

jobs:
test:
name: Run tests
Expand Down Expand Up @@ -70,9 +74,6 @@ jobs:
needs: deploy-to-dev
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: nais/deploy/actions/deploy@v1
Expand Down
8 changes: 8 additions & 0 deletions src/main/resources/stilling-mapping.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@
"type": "text",
"analyzer": "norwegian"
},
"styrkEllerTittel": {
"type": "text",
"copy_to": "stilling.styrkEllerTittel_no"
},
"styrkEllerTittel_no": {
"type": "text",
"analyzer": "norwegian"
},
"businessName": {
"type": "text",
"copy_to": "stilling.employername"
Expand Down

0 comments on commit 4de0dcf

Please sign in to comment.