Skip to content

Commit 6973211

Browse files
committed
Oppdatere deploy action for CDN
1 parent d592f42 commit 6973211

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.github/workflows/main-v3.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -28,17 +28,21 @@ jobs:
2828
run: bun run build
2929
- name: Upload to CDN dev path
3030
if: github.ref == 'refs/heads/v3' || github.ref == 'refs/heads/dev'
31-
uses: navikt/frontend/actions/cdn-upload/v1@main
31+
uses: navikt/deploy/actions/cdn-upload/v2@master
3232
with:
33-
cdn-team-name: personoversikt
33+
team: personoversikt
3434
source: ./v3/packages/internarbeidsflate-decorator-v3/dist/
3535
destination: /internarbeidsflate-decorator-v3/dev/latest
3636
no-cache-paths: "internarbeidsflate-decorator-v3/dev/latest/dist/asset-manifest.json,internarbeidsflate-decorator-v3/dev/latest/dist/bundle.js,internarbeidsflate-decorator-v3/dev/latest/dist/index.css"
37+
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
38+
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
3739
- name: Upload to CDN prod path
3840
if: github.ref == 'refs/heads/main'
39-
uses: navikt/frontend/actions/cdn-upload/v1@main
41+
uses: navikt/deploy/actions/cdn-upload/v2@master
4042
with:
41-
cdn-team-name: personoversikt
43+
team: personoversikt
4244
source: ./v3/packages/internarbeidsflate-decorator-v3/dist/
4345
destination: /internarbeidsflate-decorator-v3/prod/latest
44-
no-cache-paths: "internarbeidsflate-decorator-v3/prod/latest/dist/asset-manifest.json,internarbeidsflate-decorator-v3/prod/latest/dist/bundle.js,internarbeidsflate-decorator-v3/prod/latest/dist/index.css"
46+
no-cache-paths: "internarbeidsflate-decorator-v3/prod/latest/dist/asset-manifest.json,internarbeidsflate-decorator-v3/prod/latest/dist/bundle.js,internarbeidsflate-decorator-v3/prod/latest/dist/index.css"
47+
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
48+
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}

0 commit comments

Comments
 (0)