@@ -28,17 +28,21 @@ jobs:
28
28
run : bun run build
29
29
- name : Upload to CDN dev path
30
30
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
32
32
with :
33
- cdn- team-name : personoversikt
33
+ team : personoversikt
34
34
source : ./v3/packages/internarbeidsflate-decorator-v3/dist/
35
35
destination : /internarbeidsflate-decorator-v3/dev/latest
36
36
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 }}
37
39
- name : Upload to CDN prod path
38
40
if : github.ref == 'refs/heads/main'
39
- uses : navikt/frontend /actions/cdn-upload/v1@main
41
+ uses : navikt/deploy /actions/cdn-upload/v2@master
40
42
with :
41
- cdn- team-name : personoversikt
43
+ team : personoversikt
42
44
source : ./v3/packages/internarbeidsflate-decorator-v3/dist/
43
45
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