diff --git a/.github/workflows/deploy-cloudrun-pr.yaml b/.github/workflows/deploy-cloudrun-pr.yaml index 2858573..7e4a9d3 100644 --- a/.github/workflows/deploy-cloudrun-pr.yaml +++ b/.github/workflows/deploy-cloudrun-pr.yaml @@ -30,10 +30,6 @@ jobs: node-version: '20' cache: 'pnpm' - - name: create .env file - run: | - echo "${{ secrets.ENV_VARS }}" > .env - - name: Install dependencies and build run: | pnpm install @@ -78,7 +74,6 @@ jobs: region: asia-northeast1 service: stg-pr-${{ github.event.number }} image: asia-northeast1-docker.pkg.dev/lumos-profile-management/main/nuxt3-stg-pr-${{ github.event.number }}:latest - env_vars_file: .env - name: Make CloudRun accessible run: | diff --git a/.github/workflows/deploy-cloudrun.yaml b/.github/workflows/deploy-cloudrun.yaml index b18e5db..a49c337 100644 --- a/.github/workflows/deploy-cloudrun.yaml +++ b/.github/workflows/deploy-cloudrun.yaml @@ -26,10 +26,6 @@ jobs: node-version: '20' cache: 'pnpm' - - name: create .env file - run: | - echo "${{ secrets.ENV_VARS }}" > .env - - name: Install dependencies and build run: | pnpm install diff --git a/cloudrun/Dockerfile b/cloudrun/Dockerfile index 84b2a29..2bc3241 100644 --- a/cloudrun/Dockerfile +++ b/cloudrun/Dockerfile @@ -3,7 +3,6 @@ FROM node:20-slim WORKDIR /app COPY .output .output -COPY .env .env COPY package.json package.json CMD ["npm", "run", "start"]