fix: github actions node env

This commit is contained in:
Adam Janis 2020-11-22 15:56:38 +01:00
parent a89a3737e5
commit 6ab6e38d56
1 changed files with 2 additions and 1 deletions

View File

@ -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}}