⬆️ Bump vite from 5.4.8 to 5.4.12 in /examples/referansesider (#3516) #363
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy referansesider SPA | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: "read" | |
id-token: "write" | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup project | |
uses: ./.github/actions/setup | |
with: | |
npm_auth_token: ${{ secrets.READER_TOKEN }} | |
- run: cd ./examples/referansesider && yarn && yarn build | |
- uses: nais/deploy/actions/spa-deploy/v2@master | |
with: | |
app: aksel-referansesider | |
team: designsystem | |
source: ./examples/referansesider/dist | |
ingress: https://aksel-referansesider.ansatt.dev.nav.no | |
environment: dev | |
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }} | |
identity_provider: ${{ secrets.NAIS_WORKLOAD_IDENTITY_PROVIDER }} |