diff --git a/.github/workflows/build-and-deploy.yaml b/.github/workflows/build-and-deploy.yaml index e2706523..bfd468f7 100644 --- a/.github/workflows/build-and-deploy.yaml +++ b/.github/workflows/build-and-deploy.yaml @@ -8,7 +8,7 @@ on: - '**.md' jobs: buildDev: - uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@main + uses: navikt/aap-workflows/.github/workflows/frontend-next-build.yml@prune-devdependencies permissions: contents: read id-token: write @@ -45,7 +45,7 @@ jobs: imageSuffix: -dev-gcp vars: .nais/dev.yaml deployProd: - needs: buildProd + needs: [buildProd, deployDev] uses: navikt/aap-workflows/.github/workflows/deploy.yml@main permissions: contents: read