1
0
mirror of https://github.com/tormachris/cf-workers-status-page.git synced 2024-11-23 14:45:41 +01:00

Merge pull request #20 from eidam/e/job-level-node-env

fix: github actions build node env
This commit is contained in:
Adam Janiš 2020-11-22 16:02:33 +01:00 committed by GitHub
commit c13095a2df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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