Skip to content

Commit bdfc45e

Browse files
committed
Endrer workflow slik at det går an å deploye prod samtidig som dev
1 parent 5208960 commit bdfc45e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-master.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,15 +76,15 @@ jobs:
7676

7777
deploy-prod:
7878
runs-on: ubuntu-latest
79-
needs: [ deploy-dev ]
79+
needs: [ build, test ]
8080
environment: "prod-fss:k9saksbehandling"
8181
concurrency: "prod-fss:k9saksbehandling"
8282
steps:
8383
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # ratchet:actions/checkout@v3
8484
- name: Deploy til prod-fss
8585
uses: nais/deploy/actions/deploy@c73efa8384743a5c14b94d4a4b9c1cf5a260b532 # ratchet:nais/deploy/actions/deploy@v2
8686
env:
87-
IMAGE: ${{ needs.deploy-dev.outputs.image }}
87+
IMAGE: ${{ needs.build.outputs.image }}
8888
APIKEY: ${{ secrets.NAIS_DEPLOY_APIKEY }}
8989
CLUSTER: prod-fss
9090
RESOURCE: nais/naiserator.yaml

0 commit comments

Comments
 (0)