mirror of
https://github.com/digitalocean/nginxconfig.io.git
synced 2025-08-11 10:02:29 +08:00
Suppress logging with NODE_ENV (#332)
This commit is contained in:
2
.github/workflows/do-spaces-workflow.yml
vendored
2
.github/workflows/do-spaces-workflow.yml
vendored
@@ -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
|
||||
|
2
.github/workflows/gh-pages-workflow.yml
vendored
2
.github/workflows/gh-pages-workflow.yml
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user