diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 88e4cfe..898acd1 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -17,6 +17,8 @@ jobs: node-version: 12 - run: yarn install - run: yarn build + env: + NODE_ENV: production - name: Publish uses: cloudflare/wrangler-action@1.3.0 with: @@ -38,7 +40,6 @@ jobs: SECRET_TELEGRAM_CHAT_ID environment: production env: - NODE_ENV: production CF_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }} SECRET_SLACK_WEBHOOK_URL: ${{secrets.SECRET_SLACK_WEBHOOK_URL}} SECRET_TELEGRAM_API_TOKEN: ${{secrets.SECRET_TELEGRAM_API_TOKEN}}