diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a0bc915a41..314c94ba73 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -156,7 +156,6 @@ jobs: file: coverage/lcov.info build-deploy-frontend: - if: github.ref == 'refs/heads/nextjs' needs: javascript-tests runs-on: ubuntu-latest steps: @@ -186,6 +185,7 @@ jobs: --context-path . - name: Release on Heroku + if: github.ref == 'refs/heads/nextjs' env: HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }} run: heroku container:release --app mitopen-rc-nextjs web diff --git a/frontends/main/Dockerfile.web b/frontends/main/Dockerfile.web index eb53e51cbc..4033007f28 100644 --- a/frontends/main/Dockerfile.web +++ b/frontends/main/Dockerfile.web @@ -42,7 +42,7 @@ RUN apk add --no-cache libc6-compat WORKDIR /app COPY .yarnrc.yml /app -COPY .yarn/releases/yarn-4.4.1.cjs /app/.yarn/releases/yarn-4.4.1.cjs +COPY .yarn/releases /app/.yarn/releases COPY yarn.lock /app COPY package.json /app COPY frontends /app/frontends