Skip to content
This repository was archived by the owner on Jan 30, 2025. It is now read-only.

Commit 06033de

Browse files
authored
Merge pull request #38 from andnorda/update-cdn-upload-action
Oppdater cdn-upload action
2 parents fc212f8 + c928af0 commit 06033de

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

.github/workflows/push-to-cdn.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,11 @@ jobs:
2525
- name: 'Build application'
2626
run: 'npm run build'
2727

28-
- name: dev-upload
29-
uses: nais/frontend-plattform-cdn-upload-action@main
28+
- name: cdn-upload
29+
uses: navikt/frontend/actions/cdn-upload/v1@main
3030
with:
31-
cdn-environment: cdn.dev.nav.no
3231
cdn-team-name: min-side
3332
cache-invalidation: true
3433
source: ./dist/tms-min-side-varslinger.js
3534
destination: 'tms-min-side-varslinger'
3635

37-
- name: prod-upload
38-
if: github.ref == 'refs/heads/main'
39-
uses: nais/frontend-plattform-cdn-upload-action@main
40-
with:
41-
cdn-environment: cdn.nav.no
42-
cdn-team-name: min-side
43-
cache-invalidation: true
44-
source: ./dist/tms-min-side-varslinger.js
45-
destination: 'tms-min-side-varslinger'

0 commit comments

Comments
 (0)