Skip to content

autologin ignore assets (#1186) #232

autologin ignore assets (#1186)

autologin ignore assets (#1186) #232

Workflow file for this run

name: deploy dev og prod
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: 'read'
id-token: 'write'
packages: 'write'
concurrency:
group: deploy
cancel-in-progress: true
jobs:
dev-ekstern:
name: Deploy to dev extern
uses: ./.github/workflows/deploy-ekstern.yml
with:
kommando: npm run build:dev-ekstern
bucket: aktivitetsplan-dev
secrets:
GCS_SA_KEY: ${{ secrets.GCS_SA_KEY_DEV }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
READER_TOKEN: ${{ secrets.READER_TOKEN }}
dev-intern:
name: Deploy application to dev intern
uses: ./.github/workflows/deploy-intern.yml
with:
kommando: npm run build:dev-intern
bucket: aktivitetsplan-dev-intern
secrets:
READER_TOKEN: ${{ secrets.READER_TOKEN }}
prod-ekstern:
name: Deploy application to prod ekstern
needs: dev-ekstern
uses: ./.github/workflows/deploy-ekstern.yml
with:
kommando: npm run build:prod-ekstern
bucket: aktivitetsplan-prod
secrets:
GCS_SA_KEY: ${{ secrets.GCS_SA_KEY_PROD }}
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
READER_TOKEN: ${{ secrets.READER_TOKEN }}
prod-intern:
name: Deploy application to prod intern
needs: dev-intern
uses: ./.github/workflows/deploy-intern.yml
with:
kommando: npm run build:prod-intern
bucket: aktivitetsplan-prod-intern
secrets:
READER_TOKEN: ${{ secrets.READER_TOKEN }}