File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1313 NX_RUN_GROUP : ${{ github.run_id }}
1414 HUSKY : 0
1515 # Set DOCS_ENV based on branch/event type for proper environment detection
16- DOCS_ENV : ${{ github.event_name == 'pull_request' && 'preview' || github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'dev ' || 'dev ' }}
16+ DOCS_ENV : ${{ github.event_name == 'pull_request' && 'preview' || github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'development ' || 'development ' }}
1717 # Fallback environment variables for sites that need them
1818 SITE_TITLE : IFLA Standards Portal
1919 SITE_TAGLINE : International Federation of Library Associations and Institutions
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 - name : Test site configurations
102102 run : |
103103 SITE=${{ github.event.inputs.site || 'all' }}
104- ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'dev ' || 'production') }}
104+ ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'development ' || 'production') }}
105105 node scripts/test-site-builds.js --site $SITE --env $ENV --skip-build
106106
107107 test-site-builds :
@@ -136,7 +136,7 @@ jobs:
136136
137137 - name : Test ${{ matrix.site }} build
138138 run : |
139- ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'dev ' || 'production') }}
139+ ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'development ' || 'production') }}
140140 node scripts/test-site-builds.js --site ${{ matrix.site }} --env $ENV
141141 env :
142142 NODE_OPTIONS : --max-old-space-size=8192
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ jobs:
108108 - name : Test site configurations
109109 run : |
110110 SITE=${{ github.event.inputs.site || 'affected' }}
111- ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'dev ' || 'production') }}
111+ ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'development ' || 'production') }}
112112
113113 if [ "$SITE" = "affected" ]; then
114114 echo "Testing affected site configurations..."
@@ -147,7 +147,7 @@ jobs:
147147 - name : Build affected or specified sites
148148 run : |
149149 SITE=${{ github.event.inputs.site || 'affected' }}
150- ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'dev ' || 'production') }}
150+ ENV=${{ github.event.inputs.environment || (github.ref_name == 'main' && 'production' || github.ref_name == 'dev' && 'development ' || 'production') }}
151151
152152 export DOCS_ENV=$ENV
153153 export NODE_OPTIONS="--max-old-space-size=8192"
You can’t perform that action at this time.
0 commit comments