Skip to content

Commit

Permalink
Merge pull request #521 from navikt/cdn-upload-v2
Browse files Browse the repository at this point in the history
CDN-upload v2
  • Loading branch information
bdahle authored Mar 15, 2024
2 parents 9551946 + ef6a32a commit 4ad6b22
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,13 @@ jobs:
run: npm run build
- name: Upload assets to CDN
id: upload
uses: navikt/frontend/actions/cdn-upload/v1@main
uses: nais/deploy/actions/cdn-upload/v2@master
with:
cdn-team-name: personbruker
team: personbruker
source: ./build
destination: personopplysninger/${{ env.IMAGE_VERSION }}
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
- name: "CDN upload results"
run: echo Uploaded file to CDN ${{ steps.upload.outputs.uploaded }}
- name: Build and push docker image
Expand Down

0 comments on commit 4ad6b22

Please sign in to comment.