Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ jobs:
env:
BASEURL: /ospo-guide
GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
ELEVENTY_ENV: production
production: true
NODE_ENV: production

- name: Save 11ty Cache
uses: actions/cache/save@v4
Expand Down
3 changes: 3 additions & 0 deletions _data/env.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
production: process.env.NODE_ENV === 'production' || process.env.BRANCH === 'main',
};
Loading