Suppress logging with NODE_ENV (#332)

This commit is contained in:
Matt Cowley
2022-02-25 20:00:45 +00:00
committed by GitHub
parent cddfdc7081
commit 07b0714837
14 changed files with 100 additions and 58 deletions

View File

@@ -28,6 +28,8 @@ jobs:
- name: Build tool
run: npm run build
env:
NODE_ENV: production
- name: Deploy commit to DigitalOcean Spaces
run: aws s3 sync ./dist s3://${{ secrets.SPACES_BUCKET }}/commits/nginxconfig/${{ github.sha }} --endpoint=https://${{ secrets.SPACES_REGION }}.digitaloceanspaces.com --acl public-read --content-encoding utf8

View File

@@ -34,6 +34,8 @@ jobs:
- name: Build tool
run: npm run build
env:
NODE_ENV: production
- name: Deploy master to GitHub Pages
uses: JamesIves/github-pages-deploy-action@2.0.0