diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 11d8120b..992d1b38 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -31,7 +31,7 @@ jobs: run: echo "${{ secrets.DEV_APPLICATION }}" > ./src/main/resources/application-prod.yml - name: Build with Gradle - run: ./gradlew build + run: ./gradlew clean build - name: Build the Docker image run: docker build . --file Dockerfile --tag ${{ env.DOCKER_IMAGE_NAME }}:latest