Skip to content

Commit

Permalink
Midlertidig drop CDN upload
Browse files Browse the repository at this point in the history
  • Loading branch information
ssaegrov committed Nov 5, 2024
1 parent dc5f7d8 commit 41bbf54
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,27 +116,27 @@ jobs:
retention-days: 7


upload-cdn:
name: Last opp statiske filer til CDN
needs: [ build ]
runs-on: ubuntu-latest
permissions:
contents: "read"
id-token: "write"
steps:
- name: Download a single artifact
uses: actions/download-artifact@v4
with:
name: bygg-filer

- name: Upload static files
uses: nais/deploy/actions/cdn-upload/v2@master
with:
team: teamdagpenger
source: build/
destination: "/dp-saksbehandling-frontend/"
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
# upload-cdn:
# name: Last opp statiske filer til CDN
# needs: [ build ]
# runs-on: ubuntu-latest
# permissions:
# contents: "read"
# id-token: "write"
# steps:
# - name: Download a single artifact
# uses: actions/download-artifact@v4
# with:
# name: bygg-filer
#
# - name: Upload static files
# uses: nais/deploy/actions/cdn-upload/v2@master
# with:
# team: teamdagpenger
# source: build/
# destination: "/dp-saksbehandling-frontend/"
# identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }}
# project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}


deploy-dev:
Expand Down

0 comments on commit 41bbf54

Please sign in to comment.