diff --git a/.github/workflows/build-and-deploy.yml b/.github/workflows/build-and-deploy.yml index c9d1e25..093b63d 100644 --- a/.github/workflows/build-and-deploy.yml +++ b/.github/workflows/build-and-deploy.yml @@ -6,6 +6,9 @@ on: - "main" env: "IMAGE": "ghcr.io/${{ github.repository }}:${{ github.sha }}" +defaults: + run: + working-directory: frontend jobs: "build": name: "build" @@ -29,7 +32,7 @@ jobs: uses: "docker/build-push-action@v2" with: context: . - file: frontend/Dockerfile + file: Dockerfile tags: "${{ env.IMAGE }}" push: "true" "deploy": @@ -43,4 +46,4 @@ jobs: env: "APIKEY": "${{ secrets.NAIS_DEPLOY_APIKEY }}" "CLUSTER": "dev-gcp" - "RESOURCE": "frontend/nais.yml" \ No newline at end of file + "RESOURCE": "nais.yml" \ No newline at end of file