Skip to content

Commit

Permalink
gjør pre-deploy før docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
di0nys1us committed Apr 29, 2024
1 parent d584787 commit 42faa12
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/deploy-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ jobs:
- name: Bygg med Gradle
run: ./gradlew build --no-daemon

- name: Pre-deploy
uses: navikt/digihot-deploy/actions/pre-deploy@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Bygg og push Docker-image
uses: nais/docker-build-push@v0
id: docker-build-push
Expand All @@ -41,11 +46,6 @@ jobs:
project_id: ${{ vars.NAIS_MANAGEMENT_PROJECT_ID }}
tag: ${{ env.VERSION_TAG }}

- name: Pre-deploy
uses: navikt/digihot-deploy/actions/pre-deploy@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Deploy til dev-gcp
uses: nais/deploy/actions/deploy@v1
env:
Expand Down

0 comments on commit 42faa12

Please sign in to comment.